]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Fix null rpc_clnt dereference in rpc_task_queued tracepoint
authorBenjamin Coddington <bcodding@redhat.com>
Tue, 23 Jan 2018 14:32:35 +0000 (09:32 -0500)
committerTrond Myklebust <trondmy@gmail.com>
Tue, 23 Jan 2018 18:18:11 +0000 (13:18 -0500)
commitf3bf55d343c496925a012d275053584de6058d26
tree9a11d84498cee0462ee7f212d9fd78057fa58156
parentbbe0d2fa55e1d02fff3a46f750fcf79ef26f9cc3
SUNRPC: Fix null rpc_clnt dereference in rpc_task_queued tracepoint

Backchannel tasks will not have a reference to the rpc_clnt.  Return -1 for
cl_clid in that case.

Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trondmy@gmail.com>
include/trace/events/sunrpc.h