ipv6 addrconf: add accept_dad sysctl to control DAD operation.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Sat, 28 Jun 2008 05:18:38 +0000 (14:18 +0900)
committerYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Thu, 3 Jul 2008 08:51:56 +0000 (17:51 +0900)
commit1b34be74cbf18f5d58cc85c7c4afcd9f7d74accd
tree46cae932b628e96af0a269f8653684298d5ea65f
parent778d80be52699596bf70e0eb0761cf5e1e46088d
ipv6 addrconf: add accept_dad sysctl to control DAD operation.

- If 0, disable DAD.
- If 1, perform DAD (default).
- If >1, perform DAD and disable IPv6 operation if DAD for MAC-based
  link-local address has been failed (RFC4862 5.4.5).

We do not follow RFC4862 by default.  Refer to the netdev thread entitled
"Linux IPv6 DAD not full conform to RFC 4862 ?"
http://www.spinics.net/lists/netdev/msg52027.html

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Documentation/networking/ip-sysctl.txt
include/linux/ipv6.h
net/ipv6/addrconf.c