[PATCH v2] net/eth/ibmveth: Fixup retrieval of MAC address
    David Miller 
    davem at davemloft.net
       
    Mon May  6 06:58:34 EST 2013
    
    
  
From: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Date: Sat, 04 May 2013 13:19:01 +1000
> 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 at kernel.crashing.org>
> CC: <stable at vger.kernel.org>
Applied, thanks.
    
    
More information about the Linuxppc-dev
mailing list