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>
This commit is contained in:
parent
7047aae654
commit
76b552775d
@ -1073,7 +1073,7 @@ TRACE_EVENT(rxrpc_recvmsg,
|
|||||||
),
|
),
|
||||||
|
|
||||||
TP_fast_assign(
|
TP_fast_assign(
|
||||||
__entry->call = call->debug_id;
|
__entry->call = call ? call->debug_id : 0;
|
||||||
__entry->why = why;
|
__entry->why = why;
|
||||||
__entry->seq = seq;
|
__entry->seq = seq;
|
||||||
__entry->offset = offset;
|
__entry->offset = offset;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user