From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: [regression, 2.6.37-rc1] 'ip link tap0 up' stuck in do_exit() Date: Thu, 09 Dec 2010 18:09:29 +0100 Message-ID: <1291914569.4063.72.camel@edumazet-laptop> References: <20101103062609.GB31163@dastard> <1288768402.2467.665.camel@edumazet-laptop> <20101103103448.GA9169@dastard> <20101103112936.GB9169@dastard> <20101104002140.GA13830@dastard> <20101104054718.GC5210@cr0.nay.redhat.com> <20101208100245.01cf23c5@schatten.dmk.lab> <20101208134116.GA16923@redhat.com> <20101208134712.GB16923@redhat.com> <20101208140822.GA18681@redhat.com> <20101209164748.GA3218@hack> <1291914474.4063.68.camel@edumazet-laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Oleg Nesterov , Florian Mickler , Ingo Molnar , Dave Chinner , linux-kernel@vger.kernel.org, netdev@vger.kernel.org To: =?ISO-8859-1?Q?Am=E9rico?= Wang Return-path: In-Reply-To: <1291914474.4063.68.camel@edumazet-laptop> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Le jeudi 09 d=C3=A9cembre 2010 =C3=A0 18:07 +0100, Eric Dumazet a =C3=A9= crit : > Le vendredi 10 d=C3=A9cembre 2010 =C3=A0 00:47 +0800, Am=C3=A9rico Wa= ng a =C3=A9crit : >=20 > > Yeah, there is no point that a zombie can trigger a BUG_ON in kenre= l. > > But it is still interesting to know why it becomes a zombie... > >=20 >=20 > A zombie is very easy to get. >=20 > Technically speaking, all processes die and become zombies, unless > parent said : signal(SIGCLD, SIG_IGN) before fork() >=20 > The parent is buggy (sudo in this case ?) and doesnt call wait() to > 'free' one of its children. >=20 >=20 Before you ask :) If the parent dies before the child, task is re-parented to init. Then, with namespaces, I dont know what happens (is there one init per namespace ?)