[IPV6]: Fix addrconf dead lock.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Tue, 27 Dec 2005 21:35:15 +0000 (13:35 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Dec 2005 21:35:15 +0000 (13:35 -0800)
commit6732badee0dad467fcc9dd0168af8677b2b1bc2f
tree43fd9fbb5759de0e4a182d473621699b1ff453bc
parent79cac2a221ce18642550a13bed0f0203514923ea
[IPV6]: Fix addrconf dead lock.

We need to release idev->lcok before we call addrconf_dad_stop().
It calls ipv6_addr_del(), which will hold idev->lock.

Bug spotted by Yasuyuki KOZAKAI <yasuyuki.kozakai@toshiba.co.jp>.

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