projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3d8630
)
rxrpc: Fix calc of resend age
author
David Howells
<dhowells@redhat.com>
Tue, 5 Apr 2022 12:34:09 +0000
(13:34 +0100)
committer
David Howells
<dhowells@redhat.com>
Thu, 1 Sep 2022 10:44:12 +0000
(11:44 +0100)
Fix the calculation of the resend age to add a microsecond value as
microseconds, not nanoseconds.
Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/call_event.c
patch
|
blob
|
history
diff --git
a/net/rxrpc/call_event.c
b/net/rxrpc/call_event.c
index
f8ecad2
..
2a93e7b
100644
(file)
--- a/
net/rxrpc/call_event.c
+++ b/
net/rxrpc/call_event.c
@@
-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);