Re: PROBLEM: 2.6.11-rc2 hangs on bridge shutdown (br0)
From: Herbert Xu (herbert_at_gondor.apana.org.au)
Date: 02/06/05
- Previous message: Andi Kleen: "[PROPOSAL/PATCH] Remove PT_GNU_STACK support before 2.6.11"
- In reply to: Herbert Xu: "Re: PROBLEM: 2.6.11-rc2 hangs on bridge shutdown (br0)"
- Next in thread: B: "Re: PROBLEM: 2.6.11-rc2 hangs on bridge shutdown (br0)"
- Reply: B: "Re: PROBLEM: 2.6.11-rc2 hangs on bridge shutdown (br0)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 6 Feb 2005 22:41:45 +1100 To: "David S. Miller" <davem@davemloft.net>
On Sat, Feb 05, 2005 at 09:45:59PM +1100, herbert wrote:
>
> Although I still think this is a bug, I'm now starting to suspect
> that there is another bug around as well.
>
> There is probably an ifp leak which in turn leads to a split dst
> leak that allows the first bug to make its mark.
Found it. This is what happens:
lo goes down =>
rt6_ifdown =>
eth0's local address route gets deleted
eth0 goes down =>
__ipv6_ifa_notify =>
ip6_del_rt fails so we fall through to the
dst_free path. At this point the refcount
taken by __ipv6_ifa_notify is leaked.
Cheers,
-- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Andi Kleen: "[PROPOSAL/PATCH] Remove PT_GNU_STACK support before 2.6.11"
- In reply to: Herbert Xu: "Re: PROBLEM: 2.6.11-rc2 hangs on bridge shutdown (br0)"
- Next in thread: B: "Re: PROBLEM: 2.6.11-rc2 hangs on bridge shutdown (br0)"
- Reply: B: "Re: PROBLEM: 2.6.11-rc2 hangs on bridge shutdown (br0)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|