commit | af7721448a609d1912b57c825194ef6e17fc71a4 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Fri Oct 20 12:57:46 2023 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 23 09:35:01 2023 +0100 |
tree | c202fc0e94d15dcc834e0444c7d53a4cfe4a1f2d | |
parent | 3d44de9a10ea2b1658dfaed8ea6d3d7b6e0defbb [diff] |
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>