Skip to content
Commit f51b4480 authored by David Howells's avatar David Howells
Browse files

rxrpc: Set connection expiry on idle, not put



Set the connection expiry time when a connection becomes idle rather than
doing this in rxrpc_put_connection().  This makes the put path more
efficient (it is likely to be called occasionally whilst a connection has
outstanding calls because active workqueue items needs to be given a ref).

The time is also preset in the connection allocator in case the connection
never gets used.

Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent df844fd4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment