diff options
author | Eric Dumazet <edumazet@google.com> | 2023-10-20 12:57:46 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-10-23 09:35:01 +0100 |
commit | af7721448a609d1912b57c825194ef6e17fc71a4 (patch) | |
tree | c202fc0e94d15dcc834e0444c7d53a4cfe4a1f2d /net/ipv4/tcp_timer.c | |
parent | 3d44de9a10ea2b1658dfaed8ea6d3d7b6e0defbb (diff) | |
download | lwn-af7721448a609d1912b57c825194ef6e17fc71a4.tar.gz lwn-af7721448a609d1912b57c825194ef6e17fc71a4.zip |
tcp: introduce TCP_PAWS_WRAP
tcp_paws_check() uses TCP_PAWS_24DAYS constant to detect if TCP TS
values might have wrapped after a long idle period.
This mechanism is described in RFC 7323 5.5 (Outdated Timestamps)
TCP_PAWS_24DAYS value was based on the assumption of a clock
of 1 Khz.
As we want to adopt a 1 Mhz clock in the future, we reduce
this constant.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions