Files
linux/include/trace/events
David Howells 0e50d99990 rxrpc: Fix a couple of potential use-after-frees
At the end of rxrpc_recvmsg(), if a call is found, the call is put and then
a trace line is emitted referencing that call in a couple of places - but
the call may have been deallocated by the time those traces happen.

Fix this by stashing the call debug_id in a variable and passing that to
the tracepoint rather than the call pointer.

Fixes: 849979051c ("rxrpc: Add a tracepoint to follow what recvmsg does")
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-12-28 09:59:23 +00:00
..
2020-11-30 12:54:01 +00:00
2022-12-07 13:54:09 -08:00
2021-06-29 10:53:52 -07:00
2022-11-21 09:45:49 -06:00
2022-09-27 17:27:45 +08:00
2022-12-12 14:53:56 -08:00
2022-09-18 13:29:53 +03:00
2022-09-21 10:30:42 -06:00
2022-12-08 21:49:12 -05:00
2022-09-26 19:46:14 -07:00
2022-11-29 09:26:07 +00:00
2022-08-03 17:50:58 +02:00
2022-12-10 11:01:12 -05:00
2022-12-10 11:01:12 -05:00
2022-07-30 14:01:30 -04:00
2022-04-07 20:33:15 -07:00