]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r336215
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 31 Jul 2018 21:02:45 +0000 (21:02 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 31 Jul 2018 21:02:45 +0000 (21:02 +0000)
commit928a9e5884c54008ca647bafae3ae1ade2dcf6d3
treef072f85a866d6d13987d9e2dc9cab22b688882b6
parentbef4ae106c75dedba56342ba74cb5adbed032de5
MFC: r336215
Ignore the cookie verifier for NFSv4.1 when the cookie is 0.

RFC5661 states that the cookie verifier should be 0 when the cookie is 0.
However, the wording is somewhat unclear and a recent discussion on the
nfsv4@ietf.org mailing list indicated that the NFSv4 server should ignore
the cookie verifier's value when the dirctory offset cookie is 0.
This patch deletes the check for this that would return NFSERR_BAD_COOKIE
when the verifier was not 0.
This was found during testing of the ESXi client against the NFSv4.1 server.

git-svn-id: svn://svn.freebsd.org/base/stable/10@337006 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsserver/nfs_nfsdport.c