diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-05-03 17:19:01 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-05 20:58:02 (GMT) |
commit | 13f85203e1060da83d9ec1c1c5a63343eaab8de4 (patch) | |
tree | 9dc878e404b40efbbb69451e360a406c8aaffdae /kernel/kallsyms.c | |
parent | 77d21f23a1e4db8639e3916547c903a3b3c7a07c (diff) | |
download | linux-fsl-qoriq-13f85203e1060da83d9ec1c1c5a63343eaab8de4.tar.xz |
net/eth/ibmveth: Fixup retrieval of MAC address
Some ancient pHyp versions used to create a 8 bytes local-mac-address
property in the device-tree instead of a 6 bytes one for veth.
The Linux driver code to deal with that is an insane hack which also
happens to break with some choices of MAC addresses in qemu by testing
for a bit in the address rather than just looking at the size of the
property.
Sanitize this by doing the latter instead.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: <stable@vger.kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/kallsyms.c')
0 files changed, 0 insertions, 0 deletions