diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-05-03 17:19:01 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-11 13:48:06 -0700 |
commit | e233f3f5c5c7a6f66dadbf21965684976fbb4de6 (patch) | |
tree | a57c3cfeed4cf11387b54254c04a84211f48ae42 /arch/x86 | |
parent | 5cc4561cbfd436871f25c5bd8fc1bce7f199386d (diff) |
net/eth/ibmveth: Fixup retrieval of MAC address
commit 13f85203e1060da83d9ec1c1c5a63343eaab8de4 upstream.
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions