]> git.baikalelectronics.ru Git - kernel.git/commit
[IPV6]: Event type in addrconf_ifdown is mis-used.
authorDenis V. Lunev <den@openvz.org>
Thu, 3 Apr 2008 20:30:17 +0000 (13:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Apr 2008 20:30:17 +0000 (13:30 -0700)
commit589617a4925360c886fcdbcec31c8453b82bb8f5
tree72d751492b9bafb55da3c6a35cea9e17573f938b
parente0ff35c2176d2afc2e57e6655d82c3a86301b2af
[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