From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Lezcano Subject: Re: Kernel panic in inet_twdr_do_twkill_work Date: Thu, 14 May 2009 11:21:20 +0200 Message-ID: <4A0BE290.3030307@free.fr> References: <4A0BCE0E.3000206@free.fr> <4A0BD750.4030605@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, "Denis V. Lunev" To: "Eric W. Biederman" Return-path: Received: from mtagate1.de.ibm.com ([195.212.17.161]:35118 "EHLO mtagate1.de.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751093AbZENJVX (ORCPT ); Thu, 14 May 2009 05:21:23 -0400 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate1.de.ibm.com (8.13.1/8.13.1) with ESMTP id n4E9LNfK007243 for ; Thu, 14 May 2009 09:21:23 GMT Received: from d12av03.megacenter.de.ibm.com (d12av03.megacenter.de.ibm.com [9.149.165.213]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n4E9LNrn4391116 for ; Thu, 14 May 2009 11:21:23 +0200 Received: from d12av03.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av03.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n4E9LNua021459 for ; Thu, 14 May 2009 11:21:23 +0200 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: Eric W. Biederman wrote: > Daniel Lezcano writes: > > >> May be you can activate the NETNS_REFCNT_DEBUG in order to check if the timewait >> socket >> were destroyed at the namespace destruction ? Unfortunately it looks like the >> option is not in the Kconfig :( >> > > Looks like a good starting place. > > I will enable that when I respin my internal kernel. > > I don't have a good reproducer at the moment.... So I was hoping we could > figure this out with code inspection. > I remember I wrote a small program to create hundred of timewait sockets to test the purge. I will look if I can found it and try as a good reproducer.