diff options
| author | 2024-12-19 15:12:04 -0500 | |
|---|---|---|
| committer | 2025-01-06 09:37:39 -0500 | |
| commit | 1b3e26a5ccbfc2f85bda1930cc278e313165e353 (patch) | |
| tree | 5000feb02dd4eb41601cc64d7129e47a1d56aeac /include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com | |
| parent | nfsd: add shrinker to reduce number of slots allocated per session (diff) | |
NFSD: fix decoding in nfs4_xdr_dec_cb_getattr
If a client were to send an error to a CB_GETATTR call, the code
erronously continues to try decode past the error code. It ends
up returning BAD_XDR error to the rpc layer and then in turn
trigger a WARN_ONCE in nfsd4_cb_done() function.
Fixes: 6487a13b5c6b ("NFSD: add support for CB_GETATTR callback")
Signed-off-by: Olga Kornievskaia <okorniev@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
