summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2025-02-10 19:43:31 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-20 11:18:29 +0300
commitf0ae5bc36655fb55ab6bee4ea977b1738061dd84 (patch)
tree8f48d26343826cad4fe0e1d8760a0e6fb4dcf779 /tools/perf/scripts/python/libxed.py
parent510332159998ae41579020f0cc952330eb038e7c (diff)
downloadlinux-f0ae5bc36655fb55ab6bee4ea977b1738061dd84.tar.xz
NFSD: Fix CB_GETATTR status fix
commit 4990d098433db18c854e75fb0f90d941eb7d479e upstream. Jeff says: Now that I look, 1b3e26a5ccbf is wrong. The patch on the ml was correct, but the one that got committed is different. It should be: status = decode_cb_op_status(xdr, OP_CB_GETATTR, &cb->cb_status); if (unlikely(status || cb->cb_status)) If "status" is non-zero, decoding failed (usu. BADXDR), but we also want to bail out and not decode the rest of the call if the decoded cb_status is non-zero. That's not happening here, cb_seq_status has already been checked and is non-zero, so this ends up trying to decode the rest of the CB_GETATTR reply when it doesn't exist. Reported-by: Jeff Layton <jlayton@kernel.org> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=219737 Fixes: 1b3e26a5ccbf ("NFSD: fix decoding in nfs4_xdr_dec_cb_getattr") Reviewed-by: Jeff Layton <jlayton@kernel.org> 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/libxed.py')
0 files changed, 0 insertions, 0 deletions