• David Howells's avatar
    rxrpc: Set connection expiry on idle, not put · f51b4480
    David Howells authored
    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>
    f51b4480
conn_object.c 8.51 KB