diff options
author | David Howells <dhowells@redhat.com> | 2019-10-07 10:58:29 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-10-07 11:05:05 +0100 |
commit | 48c9e0ec7cbbb7370448f859ccc8e3b7eb69e755 (patch) | |
tree | 6cc456254863837669a21dd40b25a11a735b56e1 /arch | |
parent | 4c1295dccc0afe0905b6ca4c62ade7f2406f2cfb (diff) |
rxrpc: Fix trace-after-put looking at the put call record
rxrpc_put_call() calls trace_rxrpc_call() after it has done the decrement
of the refcount - which looks at the debug_id in the call record. But
unless the refcount was reduced to zero, we no longer have the right to
look in the record and, indeed, it may be deleted by some other thread.
Fix this by getting the debug_id out before decrementing the refcount and
then passing that into the tracepoint.
Fixes: e34d4234b0b7 ("rxrpc: Trace rxrpc_call usage")
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions