ipv6 addrconf: Fix interface identifiers of 802.15.4 devices.
Subsystems (3)
PATCH 1/1 ipv6 addrconf: Fix interface identifiers of 802.15.4 devices.
The "Universal/Local" (U/L) bit must be complmented according to RFC4944 and RFC2464.
Signed-off-by YOSHIFUJI Hideaki <[email protected]>
--- net/ipv6/addrconf.c | 1 + 1 file changed, 1 insertion(+)
net/ipv6/addrconf.c +1 -0
@@ -1660,6 +1660,7 @@ static int addrconf_ifid_eui64(u8 *eui, struct net_device *dev)if (dev->addr_len !=IEEE802154_ADDR_LEN )return -1 ;memcpy (eui, dev->dev_addr,8 ); + eui[0 ] ^=2 ;return 0 ; }
Signature · 1 line
1.7.9.5
From: YOSHIFUJI Hideaki <[email protected]>
Date: Tue, 29 Jan 2013 05:44:29 +0900
Quoted 4 lines
The "Universal/Local" (U/L) bit must be complmented according to RFC4944 and RFC2464.
Signed-off-by YOSHIFUJI Hideaki <[email protected]>
Applied.