From owner-freebsd-hackers Wed Nov 29 15:38:58 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 88A9637B401 for ; Wed, 29 Nov 2000 15:38:56 -0800 (PST) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id eATNckp02703; Wed, 29 Nov 2000 15:38:46 -0800 (PST) Date: Wed, 29 Nov 2000 15:38:45 -0800 From: Alfred Perlstein To: Thomas Moestl Cc: Boris Popov , freebsd-hackers@FreeBSD.ORG Subject: Re: [PATCH] Fix for panics in lookup() after forced unmount Message-ID: <20001129153845.R8051@fw.wintelcom.net> References: <20001126190453.A1157@crow.dom2ip.de> <20001130000439.A3370@crow.dom2ip.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001130000439.A3370@crow.dom2ip.de>; from tmoestl@gmx.net on Thu, Nov 30, 2000 at 12:04:39AM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Thomas Moestl [001129 15:06] wrote: > X > On Mon, Nov 27, 2000 at 11:04:37AM +0600, Boris Popov wrote: > > On Sun, 26 Nov 2000, Thomas Moestl wrote: > > > > > Actually, the panic will occur after a simple forced unmount of the current > > > working directory and subsequent try to access "..". This is because the > > > vnode of the cwd was cleared and it's v_mount member was set to NULL. This > > > member is however dereferenced in the handling for the ".." special case in > > > lookup(), causing a panic. > > > [...] > > > > Good work Thomas! I think patch can be committed as is. > Could someone please commit this? Or shall I rather file a PR? Please assign a PR with the attached patch, I'll try to get to it. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message