diff options
author | Olga Kornievskaia <okorniev@redhat.com> | 2024-12-19 23:12:04 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-20 11:16:00 +0300 |
commit | 560c03189615c4b89509ab696fdc04b4edad6ed9 (patch) | |
tree | 77c8c3a5b4cb14de5bbd71fca74d041d56dbd5e7 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 7005fdceff205c7c92b4d1b616bb778e12db14a5 (diff) | |
download | linux-560c03189615c4b89509ab696fdc04b4edad6ed9.tar.xz |
NFSD: fix decoding in nfs4_xdr_dec_cb_getattr
commit 1b3e26a5ccbfc2f85bda1930cc278e313165e353 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions