The function addrconf_ifid_eui64 will copy eui into dev->dev_addr. We need first to manipulate eui[0] before we call memcpy afterwards.
Broken since commit: 5e98a36ed4bf6ea396170e3af0dd4fcbe51d772f Since this commit I got many trouble with the ieee802154 stack. Signed-off-by: Alexander Aring <alex.ar...@gmail.com> --- net/ipv6/addrconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index fa36a67..4460237 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c @@ -1731,8 +1731,8 @@ 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; + memcpy(eui, dev->dev_addr, 8); return 0; } -- 1.8.1.5 ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ Linux-zigbee-devel mailing list Linux-zigbee-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel