]> git.baikalelectronics.ru Git - kernel.git/commit
IPv6: keep permanent addresses on admin down
authorstephen hemminger <shemminger@vyatta.com>
Mon, 8 Feb 2010 19:48:05 +0000 (19:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Feb 2010 20:28:01 +0000 (12:28 -0800)
commit305b25837607b5bbd77490fdbedef4e235b3dc62
treecb30c11a7eb13d2ad004ee168135282aac434791
parentb3738175a06d497e605d94d3665456c08f56c69a
IPv6: keep permanent addresses on admin down

Permanent IPV6 addresses should not be removed when the link is
set to admin down, only when device is removed.

When link is lost permanent addresses should be marked as tentative
so that when link comes back they are subject to duplicate address
detection (if DAD was enabled for that address).

Other routing systems keep manually configured IPv6 addresses
when link is set down.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c