]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC: r336215
authorrmacklem <rmacklem@FreeBSD.org>
Tue, 31 Jul 2018 20:57:31 +0000 (20:57 +0000)
committerrmacklem <rmacklem@FreeBSD.org>
Tue, 31 Jul 2018 20:57:31 +0000 (20:57 +0000)
commitf18209d1ca1433d305646dc692837f67c6b0dc66
tree5cb2f0c271860b856deb5dbd18e8f782d37acbbb
parent018f47eb5ba31cbd3acc736d58ac3a80275e2f2b
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.
sys/fs/nfsserver/nfs_nfsdport.c