mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-12 01:22:11 +00:00
rxrpc: Fix calc of resend age
[ Upstream commit 214a9dc7d8
]
Fix the calculation of the resend age to add a microsecond value as
microseconds, not nanoseconds.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
b22ef2cdfe
commit
f1742a44bd
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ static void rxrpc_resend(struct rxrpc_call *call, unsigned long now_j)
|
|||
_enter("{%d,%d}", call->tx_hard_ack, call->tx_top);
|
||||
|
||||
now = ktime_get_real();
|
||||
max_age = ktime_sub(now, jiffies_to_usecs(call->peer->rto_j));
|
||||
max_age = ktime_sub_us(now, jiffies_to_usecs(call->peer->rto_j));
|
||||
|
||||
spin_lock_bh(&call->lock);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue