diff options
Diffstat (limited to 'net/rxrpc/ar-transport.c')
-rw-r--r-- | net/rxrpc/ar-transport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/rxrpc/ar-transport.c b/net/rxrpc/ar-transport.c index d43d78f19302..bb282a6a19f0 100644 --- a/net/rxrpc/ar-transport.c +++ b/net/rxrpc/ar-transport.c | |||
@@ -183,7 +183,7 @@ void rxrpc_put_transport(struct rxrpc_transport *trans) | |||
183 | 183 | ||
184 | ASSERTCMP(atomic_read(&trans->usage), >, 0); | 184 | ASSERTCMP(atomic_read(&trans->usage), >, 0); |
185 | 185 | ||
186 | trans->put_time = xtime.tv_sec; | 186 | trans->put_time = get_seconds(); |
187 | if (unlikely(atomic_dec_and_test(&trans->usage))) | 187 | if (unlikely(atomic_dec_and_test(&trans->usage))) |
188 | _debug("zombie"); | 188 | _debug("zombie"); |
189 | /* let the reaper determine the timeout to avoid a race with | 189 | /* let the reaper determine the timeout to avoid a race with |
@@ -219,7 +219,7 @@ static void rxrpc_transport_reaper(struct work_struct *work) | |||
219 | 219 | ||
220 | _enter(""); | 220 | _enter(""); |
221 | 221 | ||
222 | now = xtime.tv_sec; | 222 | now = get_seconds(); |
223 | earliest = ULONG_MAX; | 223 | earliest = ULONG_MAX; |
224 | 224 | ||
225 | /* extract all the transports that have been dead too long */ | 225 | /* extract all the transports that have been dead too long */ |