diff options
author | David Howells <dhowells@redhat.com> | 2019-10-03 17:44:44 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-07 19:01:49 +0200 |
commit | 6144d252ffc4cbea998808e206ebce1ffc42e09a (patch) | |
tree | 34e3f8a17cf297a47b535998a7519316ee537a6e /include | |
parent | e0869dc8f1630f642ede13246b99e9fe56a469eb (diff) | |
download | linux-stable-6144d252ffc4cbea998808e206ebce1ffc42e09a.tar.gz linux-stable-6144d252ffc4cbea998808e206ebce1ffc42e09a.tar.bz2 linux-stable-6144d252ffc4cbea998808e206ebce1ffc42e09a.zip |
rxrpc: Fix rxrpc_recvmsg tracepoint
[ Upstream commit db9b2e0af605e7c994784527abfd9276cabd718a ]
Fix the rxrpc_recvmsg tracepoint to handle being called with a NULL call
parameter.
Fixes: a25e21f0bcd2 ("rxrpc, afs: Use debug_ids rather than pointers in traces")
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/trace/events/rxrpc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/trace/events/rxrpc.h b/include/trace/events/rxrpc.h index a13a62db3565..edc5c887a44c 100644 --- a/include/trace/events/rxrpc.h +++ b/include/trace/events/rxrpc.h @@ -1068,7 +1068,7 @@ TRACE_EVENT(rxrpc_recvmsg, ), TP_fast_assign( - __entry->call = call->debug_id; + __entry->call = call ? call->debug_id : 0; __entry->why = why; __entry->seq = seq; __entry->offset = offset; |