|
@@ -226,7 +226,7 @@ static void rxrpc_resend(struct rxrpc_call *call, unsigned long now_j)
|
|
ktime_to_ns(ktime_sub(skb->tstamp, max_age)));
|
|
ktime_to_ns(ktime_sub(skb->tstamp, max_age)));
|
|
}
|
|
}
|
|
|
|
|
|
- resend_at = nsecs_to_jiffies(ktime_to_ns(ktime_sub(oldest, now)));
|
|
|
|
|
|
+ resend_at = nsecs_to_jiffies(ktime_to_ns(ktime_sub(now, oldest)));
|
|
resend_at += jiffies + rxrpc_resend_timeout;
|
|
resend_at += jiffies + rxrpc_resend_timeout;
|
|
WRITE_ONCE(call->resend_at, resend_at);
|
|
WRITE_ONCE(call->resend_at, resend_at);
|
|
|
|
|