net: ipv6: send unsolicited NA after DAD
authorDavid Ahern <dsahern@gmail.com>
Fri, 26 Jan 2018 04:16:29 +0000 (20:16 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Jan 2018 19:18:38 +0000 (14:18 -0500)
commitc76fe2d98c726224a975a0d0198c3fb50406d325
tree2c2c9d6f8a7174c3ef271d910123c99bf1377085
parent202a0a70e445caee1d0ec7aae814e64b1189fa4d
net: ipv6: send unsolicited NA after DAD

Unsolicited IPv6 neighbor advertisements should be sent after DAD
completes. Update ndisc_send_unsol_na to skip tentative, non-optimistic
addresses and have those sent by addrconf_dad_completed after DAD.

Fixes: 4a6e3c5def13c ("net: ipv6: send unsolicited NA on admin up")
Reported-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c
net/ipv6/ndisc.c