]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IPV6]: Defer IPv6 device initialization until a valid qdisc is specified
authorMitsuru Chinen <mitch@linux.vnet.ibm.com>
Wed, 10 Oct 2007 09:53:43 +0000 (02:53 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:55:52 +0000 (16:55 -0700)
commitf24e3d658cf382f11a7aa7887fa99147bdc6fe0b
tree605da52f1261eaa847adc8d2d048085692355ace
parent9b7726523523472ead660b1d45df29dcaf6cc5c0
[IPV6]: Defer IPv6 device initialization until a valid qdisc is specified

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>
net/ipv6/addrconf.c