cvs commit: src/sys/nfsclient nfs_subs.c

Kris Kennaway kris at obsecurity.org
Thu Jul 26 13:03:21 UTC 2007


On Tue, Jul 03, 2007 at 06:31:48PM +0000, John Baldwin wrote:
> jhb         2007-07-03 18:31:48 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/nfsclient        nfs_subs.c 
>   Log:
>   Fix for a race where out of order loading of NFS attrs into the
>   nfsnode could lead to attrs being stale. One example (that we
>   ran into) was a READDIR+, WRITE. The responses came back in
>   order, but the attrs from the WRITE were loaded before the
>   attrs from the READDIR+, leading to the wrong size from being
>   read on the next stat() call.
>   
>   MFC after:      1 week
>   Submitted by:   mohans
>   Approved by:    re (kensmith)

Cool, I think this is (one of?) the attr bugs I have also been seeing
for a long time.

Kris


More information about the cvs-src mailing list