Received: by mail.netbsd.org (Postfix, from userid 605) id 7430E85EA8; Sat, 6 Feb 2016 20:55:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E45E085EAB for ; Sat, 6 Feb 2016 20:55:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id X663Fl8JWHMT for ; Sat, 6 Feb 2016 20:55:12 +0000 (UTC) Received: from cvs.NetBSD.org (cvs.NetBSD.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 8E69084CE5 for ; Sat, 6 Feb 2016 20:55:12 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 88C9AFBB7; Sat, 6 Feb 2016 20:55:12 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sat, 6 Feb 2016 20:55:12 +0000 From: "Soren Jacobsen" Subject: CVS commit: [netbsd-7-0] src/sys/nfs To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20160206205512.88C9AFBB7@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Soren Jacobsen" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: snj Date: Sat Feb 6 20:55:12 UTC 2016 Modified Files: src/sys/nfs [netbsd-7-0]: nfs_vnops.c Log Message: Pull up following revision(s) (requested by hannken in ticket #1094): sys/nfs/nfs_vnops.c: revision 1.309 Return an error if NFSPROC_LOOKUP returns the file handle of the current directory. Treating it as DOT lookup would put garbage into the name cache and could panic on future lookups. Seen with ZFS file system exported from OmniOS, an OpenSolaris derivative. Fixes PR kern/50664 "cd .." over NFS/ZFS can panic kernel To generate a diff of this commit: cvs rdiff -u -r1.306.2.1 -r1.306.2.1.2.1 src/sys/nfs/nfs_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.