[Bug 219554] If an NFSv4 server replies with a smaller than correct file size when being closed, client will use this.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 25 20:22:29 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219554

            Bug ID: 219554
           Summary: If an NFSv4 server replies with a smaller than correct
                    file size when being closed, client will use this.
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: rmacklem at FreeBSD.org

Created attachment 182912
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=182912&action=edit
don't shrink file in nfs_close() for NFSv4

If an NFSv4 server replies with a size smaller than what it currently is
for a file when doing an VOP_CLOSE(), the client erroneously would believe
this smaller size. This bug was only observed during testing of a broken
server, but this patch fixes it in any case.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list