Fix some cases of missed IPV6 DAD
commit3b3ba80b46eaf05349fb8e9337f154f8ef697ab9
authorMitsuru Chinen <mitch@linux.vnet.ibm.com>
Wed, 10 Oct 2007 10:16:26 +0000 (10 03:16 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 2 Nov 2007 15:44:09 +0000 (2 08:44 -0700)
tree6630a71260752d743ec0541fc442c293edb17b2c
parent1902ababc2188dea47d5677869fdd43c88490923
Fix some cases of missed IPV6 DAD

changeset 0fcace22d38ce9216f5ba52f929a99d284aa7e49 from mainline

To judge the timing for DAD, netif_carrier_ok() is used. However,
there is a possibility that dev->qdisc stays noop_qdisc even if
netif_carrier_ok() returns true. In that case, DAD NS is not sent out.
We need to defer the IPv6 device initialization until a valid qdisc
is specified.

Signed-off-by: Mitsuru Chinen <mitch@linux.vnet.ibm.com>
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv6/addrconf.c