Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261186AbVBFLr1 (ORCPT ); Sun, 6 Feb 2005 06:47:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261297AbVBFLnh (ORCPT ); Sun, 6 Feb 2005 06:43:37 -0500 Received: from arnor.apana.org.au ([203.14.152.115]:25352 "EHLO arnor.apana.org.au") by vger.kernel.org with ESMTP id S261187AbVBFLmf (ORCPT ); Sun, 6 Feb 2005 06:42:35 -0500 Date: Sun, 6 Feb 2005 22:41:45 +1100 To: "David S. Miller" Cc: mirko.parthey@informatik.tu-chemnitz.de, linux-kernel@vger.kernel.org, netdev@oss.sgi.com, yoshfuji@linux-ipv6.org, shemminger@osdl.org Subject: Re: PROBLEM: 2.6.11-rc2 hangs on bridge shutdown (br0) Message-ID: <20050206114145.GA20883@gondor.apana.org.au> References: <20050131162201.GA1000@stilzchen.informatik.tu-chemnitz.de> <20050205052407.GA17266@gondor.apana.org.au> <20050204213813.4bd642ad.davem@davemloft.net> <20050205061110.GA18275@gondor.apana.org.au> <20050204221344.247548cb.davem@davemloft.net> <20050205064643.GA29758@gondor.apana.org.au> <20050205104559.GA30981@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050205104559.GA30981@gondor.apana.org.au> User-Agent: Mutt/1.5.6+20040722i From: Herbert Xu Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1035 Lines: 31 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~} 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/