]> 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)
commit01202d60dc3c3a6e41511bc57b8a107feffff862
tree9c2fe229af8e976518911b2b38576db84dc05753
parentf3d52c4a2e393d33dd6c6bd1d65a7bc2d42996f0
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