Re: [PATCH net-2.6][NEIGH] Updating affected neighbours when about MAC address change
From: YOSHIFUJI Hideaki / 吉藤英明 <hidden>
Date: 2007-12-23 13:04:09
From: YOSHIFUJI Hideaki / 吉藤英明 <hidden>
Date: 2007-12-23 13:04:09
In article <1198413975.4423.65.camel@localhost> (at Sun, 23 Dec 2007 07:46:15 -0500), jamal [off-list ref] says:
On Sun, 2007-23-12 at 21:38 +0900, YOSHIFUJI Hideaki / 吉藤英明 wrote:quoted
In article [ref] (at Sun, 23 Dec 2007 14:24:00 +0200), "David Shwatrz" [off-list ref] says:quoted
Regarding your answer; I accept it and I will soon send a revised version of this patch (making changes to arp_netdev_event() and ndisc_netdev_event().) I had IPv4 in mind, there is no reason that it will no be also in IPv6.You should iterate all of ifa_list (for IPv4) / addr_list (for IPv6). For IPv6, we also have anycast (maintained by ac_list) as well.Hrm, how is this going to work for the case of multiple MACs on a device? Changing one MAC address doesnt equate to issuing a grat arp with _the new MAC_ for all ifa (given each MAC may be map to a different ifa)
If the secondary MACs are used with ARP/NDP, we should take care of that, but I think we use the primary MAC for ARP/NDP, no? (In other words, we always use primary MAC for ARP reply / NA, no?) --yoshfuji