diff options
author | Eric Dumazet <edumazet@google.com> | 2017-12-13 05:22:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-14 00:04:04 +0300 |
commit | 4688eb7cf3ae2c2721d1dacff5c1384cba47d176 (patch) | |
tree | 4d28b821e9e14fc5d73a5d12272ce8b817d32ef4 /net/core/sock.c | |
parent | 9ee11bd03cb1a5c3ca33c2bb70e7ed325f68890f (diff) | |
download | linux-4688eb7cf3ae2c2721d1dacff5c1384cba47d176.tar.xz |
tcp: refresh tcp_mstamp from timers callbacks
Only the retransmit timer currently refreshes tcp_mstamp
We should do the same for delayed acks and keepalives.
Even if RFC 7323 does not request it, this is consistent to what linux
did in the past, when TS values were based on jiffies.
Fixes: 385e20706fac ("tcp: use tp->tcp_mstamp in output path")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Soheil Hassas Yeganeh <soheil@google.com>
Cc: Mike Maloney <maloney@google.com>
Cc: Neal Cardwell <ncardwell@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Acked-by: Mike Maloney <maloney@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/sock.c')
0 files changed, 0 insertions, 0 deletions