diff options
author | Gao feng <gaofeng@cn.fujitsu.com> | 2013-06-16 11:14:30 +0800 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2013-08-02 22:14:44 +0200 |
commit | 7d854d8b7d7eb9994259b8edc414baccd697ae8a (patch) | |
tree | dc4b2e98b0bc85860f45c826be7605cea73e1bd9 /net/tipc/port.c | |
parent | b14bf7d412c63595f3f26f669437286b873e11a7 (diff) |
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: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'net/tipc/port.c')
0 files changed, 0 insertions, 0 deletions