diff options
author | Ursula Braun <ursula.braun@de.ibm.com> | 2010-10-24 23:06:43 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-27 11:37:30 -0700 |
commit | 853dc2e03ddd0c49885ed55c48755d2b1073122a (patch) | |
tree | 04269eb6d7e502ee4db2b3658b0eef22c67d34eb /net/ipv6/xfrm6_state.c | |
parent | 66c68bcc489fadd4f5e8839e966e3a366e50d1d5 (diff) | |
download | linux-853dc2e03ddd0c49885ed55c48755d2b1073122a.tar.bz2 |
ipv6: fix refcnt problem related to POSTDAD state
After running this bonding setup script
modprobe bonding miimon=100 mode=0 max_bonds=1
ifconfig bond0 10.1.1.1/16
ifenslave bond0 eth1
ifenslave bond0 eth3
on s390 with qeth-driven slaves, modprobe -r fails with this message
unregister_netdevice: waiting for bond0 to become free. Usage count = 1
due to twice detection of duplicate address.
Problem is caused by a missing decrease of ifp->refcnt in addrconf_dad_failure.
An extra call of in6_ifa_put(ifp) solves it.
Problem has been introduced with commit f2344a131bccdbfc5338e17fa71a807dee7944fa.
Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/xfrm6_state.c')
0 files changed, 0 insertions, 0 deletions