af_rxrpc: Keep rxrpc_call pointers in a hashtable
authorTim Smith <tim@electronghost.co.uk>
Mon, 3 Mar 2014 23:04:45 +0000 (23:04 +0000)
committerDavid Howells <dhowells@redhat.com>
Tue, 4 Mar 2014 10:36:53 +0000 (10:36 +0000)
commit7727640cc3c4d03b6a3cb5bf26d48c72e31403ca
tree1297fc34c3003a300faa45d57ecd4db15730a5d8
parente8388eb10371745627d1e538e018cb10ded86aa7
af_rxrpc: Keep rxrpc_call pointers in a hashtable

Keep track of rxrpc_call structures in a hashtable so they can be
found directly from the network parameters which define the call.

This allows incoming packets to be routed directly to a call without walking
through hierarchy of peer -> transport -> connection -> call and all the
spinlocks that that entailed.

Signed-off-by: Tim Smith <tim@electronghost.co.uk>
Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/ar-call.c
net/rxrpc/ar-input.c
net/rxrpc/ar-internal.h