netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* why are IPv6 addresses removed on link down
@ 2015-01-13  5:06 David Ahern
  2015-01-13  7:10 ` Stephen Hemminger
  0 siblings, 1 reply; 14+ messages in thread
From: David Ahern @ 2015-01-13  5:06 UTC (permalink / raw)
  To: netdev@vger.kernel.org

We noticed that IPv6 addresses are removed on a link down. e.g.,
   ip link set dev eth1


Looking at the code it appears to be this code path in addrconf.c:

         case NETDEV_DOWN:
         case NETDEV_UNREGISTER:
                 /*
                  *      Remove all addresses from this interface.
                  */
                 addrconf_ifdown(dev, event != NETDEV_DOWN);
                 break;

IPv4 addresses are NOT removed on a link down. Is there a particular 
reason IPv6 addresses are?

Thanks,
David

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-01-13 17:34 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-13  5:06 why are IPv6 addresses removed on link down David Ahern
2015-01-13  7:10 ` Stephen Hemminger
2015-01-13 10:35   ` Hannes Frederic Sowa
2015-01-13 11:58     ` YOSHIFUJI Hideaki
2015-01-13 12:15       ` YOSHIFUJI Hideaki
2015-01-13 12:36         ` Hannes Frederic Sowa
2015-01-13 14:53           ` David Ahern
2015-01-13 15:00             ` Hannes Frederic Sowa
2015-01-13 17:05               ` Nicolas Dichtel
2015-01-13 15:00             ` Sowmini Varadhan
2015-01-13 15:09               ` Hannes Frederic Sowa
2015-01-13 15:13                 ` Sowmini Varadhan
2015-01-13 17:25             ` David Miller
2015-01-13 17:34               ` Hannes Frederic Sowa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).