rxrpc: Rework peer object handling to use hash table and RCU
[deliverable/linux.git] / net / rxrpc / call_accept.c
index eea5f4a5d8b1fbb68f206eb113e32ad280ae5b54..e5723f4dce89dcc18c61151cdba2e0c5e49b4b10 100644 (file)
@@ -95,7 +95,7 @@ static int rxrpc_accept_incoming_call(struct rxrpc_local *local,
        rxrpc_new_skb(notification);
        notification->mark = RXRPC_SKB_MARK_NEW_CALL;
 
-       peer = rxrpc_get_peer(srx, GFP_NOIO);
+       peer = rxrpc_lookup_peer(local, srx, GFP_NOIO);
        if (IS_ERR(peer)) {
                _debug("no peer");
                ret = -EBUSY;
This page took 0.027124 seconds and 5 git commands to generate.