]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IPV6]: Address autoconfiguration does not work after device down/up cycle
authorKristian Slavov <kristian.slavov@nomadiclab.com>
Thu, 9 Feb 2006 00:10:53 +0000 (16:10 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 9 Feb 2006 00:13:28 +0000 (16:13 -0800)
commit9908104935325bd6beba67d637b6f5396d47075c
treeec3bf2213993e21598403e4aeb68ba1e92d536b5
parent4b88f09364e94b05b66fb1441131e8460495a2f8
[IPV6]: Address autoconfiguration does not work after device down/up cycle

If you set network interface down and up again, the IPv6 address
autoconfiguration does not work. 'ip addr' shows that the link-local
address is in tentative state. We don't even react to periodical router
advertisements.

During NETDEV_DOWN we clear IF_READY, and we don't set it back in
NETDEV_UP. While starting to perform DAD on the link-local address, we
notice that the device is not in IF_READY, and we abort autoconfiguration
process (which would eventually send router solicitations).

Acked-by: Juha-Matti Tapio <jmtapio@verkkotelakka.net>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c