From Tor.Egge@idi.ntnu.no  Sun Sep 21 15:39:07 1997
Received: from pat.idi.ntnu.no (0@pat.idi.ntnu.no [129.241.103.5])
          by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA22143
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 21 Sep 1997 15:38:57 -0700 (PDT)
Received: from ikke.idi.ntnu.no (tegge@ikke.idi.ntnu.no [129.241.111.65])
	by pat.idi.ntnu.no (8.8.6/8.8.6) with ESMTP id AAA17018
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 22 Sep 1997 00:38:49 +0200 (MET DST)
Received: (from tegge@localhost)
	by ikke.idi.ntnu.no (8.8.7/8.8.5) id AAA01466;
	Mon, 22 Sep 1997 00:38:48 +0200 (MET DST)
Message-Id: <199709212238.AAA01466@ikke.idi.ntnu.no>
Date: Mon, 22 Sep 1997 00:38:48 +0200 (MET DST)
From: Tor Egge <Tor.Egge@idi.ntnu.no>
Reply-To: Tor.Egge@idi.ntnu.no
To: FreeBSD-gnats-submit@freebsd.org
Subject: nfs lookups might give incorrect result
X-Send-Pr-Version: 3.2

>Number:         4600
>Category:       kern
>Synopsis:       nfs lookups might give incorrect result
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    peter
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 21 15:40:00 PDT 1997
>Closed-Date:    Wed Mar 28 14:16:01 PST 2001
>Last-Modified:  Wed Mar 28 14:17:23 PST 2001
>Originator:     Tor Egge
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
Norwegian University of Science and Technology, Trondheim, Norway
>Environment:

FreeBSD ikke.idi.ntnu.no 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Sun Sep 21 19:58:26 MET DST 1997     root@ikke.idi.ntnu.no:/usr/src/sys/compile/TEGGE_SMP  i386

>Description:

The nfs lookup method does not take into account that 
files might have been moved on the nfs server.

>How-To-Repeat:

on NFS server:

	mkdir test
	mkdir test/OLD
	echo 42 > test/1

on NFS client:

	ls -l test
	cat test/1

on NFS server:

	mv test/1 test/OLD/1

wait until nfs attribute cache entries times out (60 seconds), then on NFS
client:

	ls -l test
	cat test/1

Unless resource starvation has flushed the namecache entries on the
NFS client, the contents of test/OLD/1 is shown during the cat operation,
even though the ls output indicates that test/1 does not exist.

>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->peter 
Responsible-Changed-By: peter 
Responsible-Changed-When: Sun Apr 26 00:42:12 PDT 1998 
Responsible-Changed-Why:  
I'lltake this.. 
State-Changed-From-To: open->feedback 
State-Changed-By: iedowse 
State-Changed-When: Wed Mar 28 12:43:30 PST 2001 
State-Changed-Why:  
Hi Tor, is this still a problem or can the PR be closed? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=4600 
State-Changed-From-To: feedback->closed 
State-Changed-By: iedowse 
State-Changed-When: Wed Mar 28 14:16:01 PST 2001 
State-Changed-Why:  
Tor says this was fixed in revision 1.62 of nfs_vnops.c. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=4600 
>Unformatted:
