diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-09-30 22:44:41 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2021-09-30 23:53:17 +0300 |
commit | f2e717d655040d632c9015f19aa4275f8b16e7f2 (patch) | |
tree | e94de61245fb6108c742ca1ba6fca97e81605c41 /net/sunrpc/auth_gss | |
parent | 1d625050c7c2dd877e108e382b8aaf1ae3cfe1f4 (diff) | |
download | linux-f2e717d655040d632c9015f19aa4275f8b16e7f2.tar.xz |
nfsd4: Handle the NFSv4 READDIR 'dircount' hint being zero
RFC3530 notes that the 'dircount' field may be zero, in which case the
recommendation is to ignore it, and only enforce the 'maxcount' field.
In RFC5661, this recommendation to ignore a zero valued field becomes a
requirement.
Fixes: aee377644146 ("nfsd4: fix rd_dircount enforcement")
Cc: <stable@vger.kernel.org>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/sunrpc/auth_gss')
0 files changed, 0 insertions, 0 deletions