diff options
author | Gao feng <gaofeng@cn.fujitsu.com> | 2013-06-16 11:14:30 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-28 16:25:56 -0700 |
commit | dabed30c3f3af3afd343ad33e3fa0b741ffdebb3 (patch) | |
tree | 0113bf4e85da58c76105f130e33c17223c947166 /drivers | |
parent | 251d33ece34f261875830e0dfd52e53a10ac13dc (diff) | |
download | linux-3.10-dabed30c3f3af3afd343ad33e3fa0b741ffdebb3.tar.gz linux-3.10-dabed30c3f3af3afd343ad33e3fa0b741ffdebb3.tar.bz2 linux-3.10-dabed30c3f3af3afd343ad33e3fa0b741ffdebb3.zip |
ipv6: don't call addrconf_dst_alloc again when enable lo
[ Upstream commit a881ae1f625c599b460cc8f8a7fcb1c438f699ad ]
If we disable all of the net interfaces, and enable
un-lo interface before lo interface, we already allocated
the addrconf dst in ipv6_add_addr. So we shouldn't allocate
it again when we enable lo interface.
Otherwise the message below will be triggered.
unregister_netdevice: waiting for sit1 to become free. Usage count = 1
This problem is introduced by commit 25fb6ca4ed9cad72f14f61629b68dc03c0d9713f
"net IPv6 : Fix broken IPv6 routing table after loopback down-up"
Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions