]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3ff7a01a6e3a44a07b9329a9ccc402811c507c84
tree9c2fe229af8e976518911b2b38576db84dc05753
parentc6ace4bc1475ae951c0f41ed5b7a6005b7c97697
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