]> 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)
commit04261344dad1c5737dba15fabb0cf09aa4e273f2
treee300115d7a3a8fcd6c35eab1b409b81f6719cedd
parent09c6fe237dd190c95d55fa235b09986c7d1f6c76
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