diff options
Diffstat (limited to 'net/rxrpc/connection.c')
-rw-r--r-- | net/rxrpc/connection.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/rxrpc/connection.c b/net/rxrpc/connection.c index 0e0a4553499f..573b572f8f91 100644 --- a/net/rxrpc/connection.c +++ b/net/rxrpc/connection.c | |||
@@ -402,8 +402,7 @@ void rxrpc_put_connection(struct rxrpc_connection *conn) | |||
402 | 402 | ||
403 | /* move to graveyard queue */ | 403 | /* move to graveyard queue */ |
404 | _debug("burying connection: {%08x}", ntohl(conn->conn_id)); | 404 | _debug("burying connection: {%08x}", ntohl(conn->conn_id)); |
405 | list_del(&conn->link); | 405 | list_move_tail(&conn->link, &peer->conn_graveyard); |
406 | list_add_tail(&conn->link, &peer->conn_graveyard); | ||
407 | 406 | ||
408 | rxrpc_krxtimod_add_timer(&conn->timeout, rxrpc_conn_timeout * HZ); | 407 | rxrpc_krxtimod_add_timer(&conn->timeout, rxrpc_conn_timeout * HZ); |
409 | 408 | ||