commit | c3213d260a23e263ef85ba21ac68c9e7578020b5 | [log] [tgz] |
---|---|---|
author | Scott Mayhew <smayhew@redhat.com> | Thu Nov 12 15:17:32 2020 -0500 |
committer | J. Bruce Fields <bfields@redhat.com> | Thu Nov 12 15:56:51 2020 -0500 |
tree | f794ea412f964cd55338db0fe45015a5f20f3bb8 | |
parent | ae2975046dbc65855c217fe6fbd5b33140c5ff18 [diff] |
SUNRPC: Fix oops in the rpc_xdr_buf event class Backchannel rpc tasks don't have task->tk_client set, so it's necessary to check it for NULL before dereferencing. Fixes: c509f15a5801 ("SUNRPC: Split the xdr_buf event class") Signed-off-by: Scott Mayhew <smayhew@redhat.com> Reviewed-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>