Commit 9c25aae
tcp: fix tcp_disordered_ack() vs usec TS resolution
After commit 9394630 ("tcp: change data receiver flowlabel after one dup")
we noticed an increase of TCPACKSkippedPAWS events.
Neal Cardwell tracked the issue to tcp_disordered_ack() assumption
about remote peer TS clock.
RFC 1323 & 7323 are suggesting the following:
"timestamp clock frequency in the range 1 ms to 1 sec per tick
between 1ms and 1sec."
This has to be adjusted for 1 MHz clock frequency.
This hints at reorders of SACK packets on send side,
this might deserve a future patch.
(skb->ooo_okay is always set for pure ACK packets)
Fixes: 614e831 ("tcp: add support for usec resolution in TCP TS values")
Co-developed-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: David Morley <morleyd@google.com>
Link: https://lore.kernel.org/r/20231207181342.525181-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent a45f1e4 commit 9c25aae
1 file changed
+20
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4368 | 4368 | | |
4369 | 4369 | | |
4370 | 4370 | | |
| 4371 | + | |
| 4372 | + | |
| 4373 | + | |
| 4374 | + | |
| 4375 | + | |
| 4376 | + | |
| 4377 | + | |
| 4378 | + | |
| 4379 | + | |
| 4380 | + | |
| 4381 | + | |
| 4382 | + | |
| 4383 | + | |
| 4384 | + | |
| 4385 | + | |
| 4386 | + | |
| 4387 | + | |
4371 | 4388 | | |
4372 | 4389 | | |
4373 | 4390 | | |
4374 | 4391 | | |
4375 | 4392 | | |
4376 | 4393 | | |
4377 | 4394 | | |
4378 | | - | |
| 4395 | + | |
4379 | 4396 | | |
4380 | 4397 | | |
4381 | 4398 | | |
| |||
4385 | 4402 | | |
4386 | 4403 | | |
4387 | 4404 | | |
4388 | | - | |
| 4405 | + | |
| 4406 | + | |
4389 | 4407 | | |
4390 | 4408 | | |
4391 | 4409 | | |
| |||
0 commit comments