ipv6: Send netlink notification when DAD fails
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 13 Mar 2010 20:23:29 +0000 (12:23 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Mar 2010 20:23:29 +0000 (12:23 -0800)
commite2577a065832f2c6d108de2e027891bdb2d78924
treee7d2d4f8c853fad7a896da5d3b7f8b6202d9e8a1
parent3f07d1295191cfa41125e4e61ee2064790070071
ipv6: Send netlink notification when DAD fails

If we are managing IPv6 addresses using DHCP, it would be nice
for user-space to be notified if an address configured through
DHCP fails DAD.  Otherwise user-space would have to poll to see
whether DAD succeeds.

This patch uses the existing notification mechanism and simply
hooks it into the DAD failure code path.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c