rxrpc: Rework peer object handling to use hash table and RCU
[deliverable/linux.git] / net / rxrpc / transport.c
index a1b65183b07df36bb5eaa0a67879d6182f44f166..d33387dec0ce103ebc19499fd6ee77e6b2e77397 100644 (file)
@@ -121,7 +121,7 @@ struct rxrpc_transport *rxrpc_get_transport(struct rxrpc_local *local,
        usage = atomic_read(&trans->usage);
 
        rxrpc_get_local(trans->local);
-       atomic_inc(&trans->peer->usage);
+       rxrpc_get_peer(trans->peer);
        list_add_tail(&trans->link, &rxrpc_transports);
        write_unlock_bh(&rxrpc_transport_lock);
        new = "new";
This page took 0.024603 seconds and 5 git commands to generate.