commit | dfcb33773877f31a40ba0583e622935ef105c90b | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Fri Oct 23 10:41:07 2020 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 18 19:20:26 2020 +0100 |
tree | 6f81995a7e2ceb38f6218b365548fcd6d02485e2 | |
parent | b9e8f9d139bd7ea83e2e896ea08ae757cad5e7a8 [diff] |
SUNRPC: Fix general protection fault in trace_rpc_xdr_overflow() [ Upstream commit d321ff589c16d8c2207485a6d7fbdb14e873d46e ] The TP_fast_assign() section is careful enough not to dereference xdr->rqst if it's NULL. The TP_STRUCT__entry section is not. Fixes: 5582863f450c ("SUNRPC: Add XDR overflow trace event") Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>