Jiayuan Chen
cf94b3c0f0
selftests/net: packetdrill: cover RFC 5961 5.2 challenge ACK on both edges
...
RFC 5961 Section 5.2 / RFC 793 Section 3.9 require a challenge ACK
whenever an incoming SEG.ACK falls outside
[SND.UNA - MAX.SND.WND, SND.NXT]. There is currently no packetdrill
coverage for either edge.
Add tcp_rfc5961_ack-out-of-window.pkt, which in a single passive-open
connection exercises:
- Upper edge (SEG.ACK > SND.NXT): peer ACKs data that was never
sent before the server has transmitted anything.
- Lower edge (SEG.ACK < SND.UNA - MAX.SND.WND): after the server
has sent 2000 bytes (the peer-advertised rwnd forces two 1000-byte
segments, both acknowledged), peer sends an ACK that is older
than the acceptable window.
Both cases must elicit a challenge ACK
<SEQ = SND.NXT, ACK = RCV.NXT, CTL = ACK>. The per-socket RFC 5961
Section 7 rate limit is disabled for the duration of the test so that
both challenge ACKs can fire back-to-back.
Signed-off-by: Jiayuan Chen <jiayuan.chen@linux.dev >
Reviewed-by: Eric Dumazet <edumazet@google.com >
Link: https://patch.msgid.link/20260422123605.320000-3-jiayuan.chen@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org >
2026-04-23 11:04:01 -07:00
..
2025-10-06 13:12:59 -07:00
2025-09-29 18:41:19 -07:00
2026-02-18 16:45:30 -08:00
2025-10-06 13:14:06 -07:00
2024-09-12 19:04:37 -07:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-02-03 15:13:25 +01:00
2026-01-06 17:38:26 -08:00
2026-01-06 17:38:26 -08:00
2024-12-18 10:05:33 -08:00
2024-12-18 10:05:33 -08:00
2025-07-11 17:01:31 -07:00
2024-12-18 10:05:33 -08:00
2024-12-18 10:05:28 -08:00
2024-12-18 10:05:28 -08:00
2024-12-18 10:05:28 -08:00
2025-09-04 19:13:41 -07:00
2026-03-14 13:15:46 -07:00
2025-06-27 15:35:03 -07:00
2024-12-18 10:05:28 -08:00
2024-12-18 10:05:33 -08:00
2024-12-18 10:05:33 -08:00
2024-12-18 10:05:33 -08:00
2024-12-18 10:05:33 -08:00
2024-12-18 10:05:33 -08:00
2024-12-18 10:05:33 -08:00
2024-12-18 10:05:33 -08:00
2024-12-18 10:05:33 -08:00
2025-09-29 18:41:38 -07:00
2025-09-29 18:41:38 -07:00
2025-09-29 18:41:38 -07:00
2025-09-29 18:41:38 -07:00
2025-09-29 18:41:38 -07:00
2025-09-29 18:41:38 -07:00
2025-09-29 18:41:39 -07:00
2025-09-29 18:41:39 -07:00
2025-09-29 18:41:39 -07:00
2025-09-29 18:41:39 -07:00
2025-09-29 18:41:39 -07:00
2025-09-29 18:41:39 -07:00
2025-09-29 18:41:39 -07:00
2025-09-29 18:41:39 -07:00
2025-09-29 18:41:39 -07:00
2025-09-29 18:41:39 -07:00
2025-09-29 18:41:39 -07:00
2025-09-29 18:41:39 -07:00
2025-07-11 17:01:31 -07:00
2025-07-11 17:01:31 -07:00
2024-12-18 10:05:48 -08:00
2024-12-18 10:05:48 -08:00
2024-09-09 17:38:02 -07:00
2024-12-18 10:05:33 -08:00
2024-12-18 10:05:33 -08:00
2024-12-18 10:05:33 -08:00
2025-07-14 18:41:43 -07:00
2025-07-09 19:24:10 -07:00
2026-03-14 08:01:49 -07:00
2026-03-19 10:26:25 +01:00
2026-03-14 08:02:51 -07:00
2026-03-14 08:02:16 -07:00
2026-02-25 19:07:02 -08:00
2026-04-23 11:04:01 -07:00
2025-11-07 18:05:26 -08:00
2024-12-18 10:05:28 -08:00
2024-12-18 10:05:28 -08:00
2024-12-18 10:05:28 -08:00
2024-12-18 10:05:28 -08:00
2024-12-18 10:05:48 -08:00
2024-09-12 19:04:38 -07:00
2024-09-12 19:04:38 -07:00
2024-09-12 19:04:38 -07:00
2024-09-12 19:04:38 -07:00
2024-09-12 19:04:38 -07:00
2024-09-12 19:04:38 -07:00
2024-09-12 19:04:38 -07:00
2024-09-12 19:04:38 -07:00
2024-09-12 19:04:38 -07:00
2024-09-12 19:04:38 -07:00
2024-12-18 10:05:33 -08:00
2024-12-18 10:05:48 -08:00
2025-11-26 15:57:55 -08:00
2024-12-18 10:05:48 -08:00
2024-12-18 10:05:28 -08:00
2024-12-18 10:05:28 -08:00
2024-12-18 10:05:28 -08:00
2024-12-18 10:05:33 -08:00
2024-12-18 10:05:33 -08:00
2024-12-18 10:05:33 -08:00
2026-01-28 19:35:39 -08:00
2024-12-18 10:05:33 -08:00
2026-04-23 11:04:00 -07:00
2024-12-18 10:05:33 -08:00
2024-12-18 10:05:48 -08:00
2025-10-16 16:25:09 -07:00
2024-12-18 10:05:48 -08:00
2025-11-26 15:57:55 -08:00
2025-11-26 15:57:55 -08:00
2025-11-26 15:57:55 -08:00
2025-11-26 15:57:55 -08:00
2025-11-26 15:57:55 -08:00
2025-11-26 15:57:55 -08:00
2025-11-26 15:57:55 -08:00
2025-11-26 15:57:55 -08:00
2025-11-26 15:57:55 -08:00
2025-11-26 15:57:55 -08:00
2025-11-26 15:57:55 -08:00