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)
commitdc2b99f71ef477a31020511876ab4403fb7c4420
treecb30c11a7eb13d2ad004ee168135282aac434791
parentc0ad98453f23b98f73a1f1be2a75303a6c0dee4c
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