David Howells 96a9c425e2 rxrpc: Fix a missing NULL-pointer check in a trace
Fix the rxrpc_client tracepoint to not dereference conn to get the cid if
conn is NULL, as it does for other fields.

	RIP: 0010:trace_event_raw_event_rxrpc_client+0x7e/0xe0 [rxrpc]
	Call Trace:
	 rxrpc_activate_channels+0x62/0xb0 [rxrpc]
	 rxrpc_connect_call+0x481/0x650 [rxrpc]
	 ? wake_up_q+0xa0/0xa0
	 ? rxrpc_kernel_begin_call+0x12a/0x1b0 [rxrpc]
	 rxrpc_new_client_call+0x2a5/0x5e0 [rxrpc]

Fixes: 245500d853e9 ("rxrpc: Rewrite the client connection manager")
Reported-by: Marc Dionne <marc.dionne@auristor.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Tested-by: Marc Dionne <marc.dionne@auristor.com>
2020-09-14 16:18:59 +01:00
..
2018-04-16 11:53:35 +01:00
2020-07-07 21:51:46 -07:00
2019-11-27 07:44:25 +01:00
2017-11-17 09:51:57 -08:00
2019-11-08 11:23:37 +01:00
2019-03-27 15:52:01 -03:00
2017-09-25 20:38:26 +02:00
2020-07-30 14:54:19 +01:00
2020-04-22 12:55:54 -07:00
2018-02-13 21:30:22 +01:00
2017-12-19 10:56:24 +01:00
2020-01-09 18:41:41 -08:00
2019-12-01 14:00:59 -08:00