diff options
author | David Howells <dhowells@redhat.com> | 2016-08-23 15:27:24 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2016-08-23 16:02:35 +0100 |
commit | f51b4480021c470d1f5e8066ccc7c10513bd4e37 (patch) | |
tree | 63b43923ac921fe8e3509d5b06f0efafe062a038 /net/rxrpc/skbuff.c | |
parent | df844fd46b98c2efde8f4ac2d50d59bc90c4c679 (diff) |
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: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc/skbuff.c')
0 files changed, 0 insertions, 0 deletions