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)
commitd991b4a32f65076efaf78739c4a46406ca8c7e79
treee300115d7a3a8fcd6c35eab1b409b81f6719cedd
parent7877a4a4bdf0d782276f1cba868878aee77718ee
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