]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Move peer lookup from call-accept to new-incoming-conn
authorDavid Howells <dhowells@redhat.com>
Wed, 29 Jun 2016 13:40:39 +0000 (14:40 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 6 Jul 2016 09:49:57 +0000 (10:49 +0100)
commit0451c5045ddc59a957c0f95ed63cda4c66c62bf4
treee300115d7a3a8fcd6c35eab1b409b81f6719cedd
parent6b2feb856fb0e0ceef47de2f65c069d2b6069f0f
rxrpc: Move peer lookup from call-accept to new-incoming-conn

Move the lookup of a peer from a call that's being accepted into the
function that creates a new incoming connection.  This will allow us to
avoid incrementing the peer's usage count in some cases in future.

Note that I haven't bother to integrate rxrpc_get_addr_from_skb() with
rxrpc_extract_addr_from_skb() as I'm going to delete the former in the very
near future.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/ar-internal.h
net/rxrpc/call_accept.c
net/rxrpc/conn_service.c
net/rxrpc/utils.c