rxrpc: Pass the connection pointer to rxrpc_post_packet_to_call()
authorDavid Howells <dhowells@redhat.com>
Wed, 7 Sep 2016 14:28:54 +0000 (15:28 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 7 Sep 2016 14:30:22 +0000 (15:30 +0100)
commit8b7fac50ab7f2668c43795c135025c472922a344
tree9c2fe229af8e976518911b2b38576db84dc05753
parent278ac0cdd5e516bdef2b9b8f5a4dd6366a5bccfe
rxrpc: Pass the connection pointer to rxrpc_post_packet_to_call()

Pass the connection pointer to rxrpc_post_packet_to_call() as the call
might get disconnected whilst we're looking at it, but the connection
pointer determined by rxrpc_data_read() is guaranteed by RCU for the
duration of the call.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/input.c