Skip to content
Commit c3213d26 authored by Scott Mayhew's avatar Scott Mayhew Committed by J. Bruce Fields
Browse files

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: c509f15a ("SUNRPC: Split the xdr_buf event class")
Signed-off-by: default avatarScott Mayhew <smayhew@redhat.com>
Reviewed-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent ae297504
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment