tcp: use tcp_jiffies32 for rcv_tstamp and lrcvtime
Use tcp_jiffies32 instead of tcp_time_stamp, since tcp_time_stamp will soon be only used for TCP TS option. Signed-off-by: Eric Dumazet <edumazet@google.com> Acked-by: Soheil Hassas Yeganeh <soheil@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
ac35f56220
commit
70eabf0e1b
@@ -451,7 +451,7 @@ void tcp_retransmit_timer(struct sock *sk)
|
||||
tp->snd_una, tp->snd_nxt);
|
||||
}
|
||||
#endif
|
||||
if (tcp_time_stamp - tp->rcv_tstamp > TCP_RTO_MAX) {
|
||||
if (tcp_jiffies32 - tp->rcv_tstamp > TCP_RTO_MAX) {
|
||||
tcp_write_err(sk);
|
||||
goto out;
|
||||
}
|
||||
|
Reference in New Issue
Block a user