From owner-freebsd-hackers Wed Nov 29 15: 6:24 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by hub.freebsd.org (Postfix) with SMTP id 3358537B401 for ; Wed, 29 Nov 2000 15:06:18 -0800 (PST) Received: (qmail 14235 invoked by uid 0); 29 Nov 2000 23:06:16 -0000 Received: from p3e9bc20f.dip.t-dialin.net (HELO forge.local) (62.155.194.15) by mail.gmx.net (mail04) with SMTP; 29 Nov 2000 23:06:16 -0000 Received: from thomas by forge.local with local (Exim 3.16 #1 (Debian)) id 141GHH-0000tI-00; Thu, 30 Nov 2000 00:04:39 +0100 Date: Thu, 30 Nov 2000 00:04:39 +0100 From: Thomas Moestl To: Boris Popov Cc: freebsd-hackers@freebsd.org Subject: Re: [PATCH] Fix for panics in lookup() after forced unmount Message-ID: <20001130000439.A3370@crow.dom2ip.de> Mail-Followup-To: Thomas Moestl , Boris Popov , freebsd-hackers@freebsd.org References: <20001126190453.A1157@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: ; from bp@butya.kz on Mon, Nov 27, 2000 at 11:04:37AM +0600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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? Thanks, - Thomas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message