net: ipv6: send unsolicited NA after DAD
authorDavid Ahern <dsahern@gmail.com>
Fri, 26 Jan 2018 04:16:29 +0000 (20:16 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Feb 2018 09:19:48 +0000 (10:19 +0100)
commit07ca93e3176bfdc5e954b79c0dcee0fb95aef6fb
treefc67497e10b0141c5a44436fa753334f538d7a99
parent799a34d5b048644a918b295627c3594124d96d4c
net: ipv6: send unsolicited NA after DAD

[ Upstream commit c76fe2d98c726224a975a0d0198c3fb50406d325 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv6/addrconf.c
net/ipv6/ndisc.c