[IPV6]: Event type in addrconf_ifdown is mis-used.
commit439e23857a21c3a953826eed23c818697a97de1a
authorDenis V. Lunev <den@openvz.org>
Thu, 3 Apr 2008 20:30:17 +0000 (3 13:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Apr 2008 20:30:17 +0000 (3 13:30 -0700)
tree72d751492b9bafb55da3c6a35cea9e17573f938b
parentaf2681828af5f2b42e12e8b16ba0cf113cf486c8
[IPV6]: Event type in addrconf_ifdown is mis-used.

addrconf_ifdown is broken in respect to the usage of how
parameter. This function is called with (event != NETDEV_DOWN) and (2)
on the IPv6 stop.  It the latter case inet6_dev from loopback device
should be destroyed.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c