Home
last modified time | relevance | path

Searched hist:"9 bdd8d40c8c59435664af6049dabe24b7779b203" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/ipv6/
H A Daddrconf.cdiff 9bdd8d40c8c59435664af6049dabe24b7779b203 Wed Mar 18 20:22:48 CDT 2009 Brian Haley <brian.haley@hp.com> ipv6: Fix incorrect disable_ipv6 behavior

Fix the behavior of allowing both sysctl and addrconf_dad_failure()
to set the disable_ipv6 parameter without any bad side-effects.
If DAD fails and accept_dad > 1, we will still set disable_ipv6=1,
but then instead of allowing an RA to add an address then
immediately fail DAD, we simply don't allow the address to be
added in the first place. This also lets the user set this flag
and disable all IPv6 addresses on the interface, or on the entire
system.

Signed-off-by: Brian Haley <brian.haley@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>