Kuniyuki Iwashima
ffc56c9081
selftest: packetdrill: Add max RTO test for SYN+ACK.
...
This script sets net.ipv4.tcp_rto_max_ms to 1000 and checks
if SYN+ACK RTO is capped at 1s for TFO and non-TFO.
Without the previous patch, the max RTO is applied to TFO
SYN+ACK only, and non-TFO SYN+ACK RTO increases exponentially.
# selftests: net/packetdrill: tcp_rto_synack_rto_max.pkt
# TAP version 13
# 1..2
# tcp_rto_synack_rto_max.pkt:46: error handling packet: timing error:
expected outbound packet at 5.091936 sec but happened at 6.107826 sec; tolerance 0.127974 sec
# script packet: 5.091936 S. 0:0(0) ack 1 <mss 1460,nop,nop,sackOK>
# actual packet: 6.107826 S. 0:0(0) ack 1 win 65535 <mss 1460,nop,nop,sackOK>
# not ok 1 ipv4
# tcp_rto_synack_rto_max.pkt:46: error handling packet: timing error:
expected outbound packet at 5.075901 sec but happened at 6.091841 sec; tolerance 0.127976 sec
# script packet: 5.075901 S. 0:0(0) ack 1 <mss 1460,nop,nop,sackOK>
# actual packet: 6.091841 S. 0:0(0) ack 1 win 65535 <mss 1460,nop,nop,sackOK>
# not ok 2 ipv6
# # Totals: pass:0 fail:2 xfail:0 xpass:0 skip:0 error:0
not ok 49 selftests: net/packetdrill: tcp_rto_synack_rto_max.pkt # exit=1
With the previous patch, all SYN+ACKs are retransmitted
after 1s.
# selftests: net/packetdrill: tcp_rto_synack_rto_max.pkt
# TAP version 13
# 1..2
# ok 1 ipv4
# ok 2 ipv6
# # Totals: pass:2 fail:0 xfail:0 xpass:0 skip:0 error:0
ok 49 selftests: net/packetdrill: tcp_rto_synack_rto_max.pkt
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com >
Reviewed-by: Eric Dumazet <edumazet@google.com >
Link: https://patch.msgid.link/20251106003357.273403-7-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org >
2025-11-07 18:05:26 -08:00
..
2025-10-06 13:14:06 -07:00
2025-07-01 17:42:11 -07:00
2025-09-10 17:11:50 +02:00
2025-10-27 17:57:21 -07:00
2025-10-06 13:14:06 -07:00
2025-10-12 19:03:53 +01:00
2025-11-04 17:15:07 -08:00
2025-10-29 17:39:26 -07:00
2025-09-18 11:26:06 -07:00
2025-10-09 11:13:08 -07:00
2025-11-07 18:05:26 -08:00
2025-10-06 13:14:06 -07:00
2025-10-06 13:12:59 -07:00
2025-09-30 08:30:26 -07:00
2025-04-04 08:02:09 -07:00
2023-12-05 13:00:55 +01:00
2024-05-21 13:25:11 +02:00
2025-10-29 17:56:03 -07:00
2024-02-05 12:36:16 +00:00
2025-09-04 07:30:04 -07:00
2023-09-10 18:49:29 +01:00
2022-12-30 07:25:53 +00:00
2024-03-29 14:48:39 -07:00
2025-08-20 19:28:03 -07:00
2024-04-24 20:15:45 -07:00
2025-09-09 11:29:58 +02:00
2025-07-14 17:29:41 -07:00
2025-11-03 18:11:40 -08:00
2025-11-03 18:11:40 -08:00
2025-03-10 13:13:04 -07:00
2025-09-02 16:55:00 -07:00
2023-12-05 13:00:56 +01:00
2024-12-16 18:14:12 -08:00
2025-01-17 18:36:14 -08:00
2025-10-06 13:12:59 -07:00
2024-11-15 16:39:19 -08:00
2024-05-13 13:53:53 -07:00
2025-09-09 15:34:11 -07:00
2025-09-09 15:34:11 -07:00
2025-09-09 15:34:11 -07:00
2025-09-11 17:57:21 -07:00
2025-02-18 18:10:31 -08:00
2025-09-26 17:48:37 -07:00
2023-12-14 18:38:35 -08:00
2023-12-14 18:38:35 -08:00
2025-09-23 17:01:05 -07:00
2025-05-12 18:10:55 -07:00
2025-05-12 18:10:55 -07:00
2023-12-14 18:38:35 -08:00
2024-01-31 11:11:09 +00:00
2023-12-23 00:26:32 +00:00
2025-07-10 18:11:04 -07:00
2025-10-31 17:33:17 -07:00
2025-09-25 12:42:49 +02:00
2023-07-18 17:43:51 -07:00
2025-05-12 18:10:55 -07:00
2023-12-05 13:00:56 +01:00
2025-10-17 16:57:53 -07:00
2023-12-15 11:01:27 +00:00
2024-10-04 15:34:07 -07:00
2024-10-04 15:34:07 -07:00
2024-05-07 17:22:18 -07:00
2025-02-25 18:13:28 -08:00
2025-01-20 11:25:25 -08:00
2022-07-22 12:40:27 +01:00
2022-07-22 12:40:27 +01:00
2025-07-25 13:06:19 -07:00
2025-09-09 11:43:59 +02:00
2025-05-27 17:31:42 -07:00
2023-01-10 10:13:52 +01:00
2023-12-05 13:00:56 +01:00
2025-09-26 17:48:39 -07:00
2025-02-21 15:28:03 -08:00
2025-03-20 11:25:52 +01:00
2025-10-06 13:14:06 -07:00
2025-07-02 15:07:16 -07:00
2025-07-02 15:07:16 -07:00
2024-04-24 20:15:45 -07:00
2025-06-11 17:02:29 -07:00
2023-12-05 13:00:56 +01:00
2025-07-11 17:00:18 -07:00
2024-08-22 16:56:06 -07:00
2025-10-24 18:43:37 -07:00
2025-04-03 15:32:09 -07:00
2024-06-01 16:03:21 -07:00
2025-06-17 16:22:59 -07:00
2025-07-24 18:34:55 -07:00
2025-09-09 16:26:44 -07:00
2025-03-24 12:01:38 -07:00
2024-10-15 09:52:36 -07:00
2025-09-13 16:55:16 -07:00
2022-05-25 21:58:35 -07:00
2025-08-11 20:12:23 -07:00
2024-04-01 20:42:45 -07:00
2025-02-17 16:34:36 -08:00
2025-04-11 18:58:10 -07:00
2022-03-07 12:23:27 +00:00
2022-09-27 11:00:02 +02:00
2025-08-25 16:07:16 -07:00
2023-10-24 13:53:39 -07:00
2025-09-01 13:08:07 -07:00
2025-06-22 17:32:04 +01:00
2025-04-04 07:36:06 -07:00
2025-10-14 15:12:18 +02:00
2024-09-10 16:55:23 -07:00
2024-04-10 14:03:12 -07:00
2024-04-10 14:03:12 -07:00
2025-10-20 16:41:33 -07:00
2025-10-20 16:41:33 -07:00
2023-12-14 18:38:35 -08:00
2024-02-01 08:36:29 -08:00
2025-03-12 13:20:04 -07:00
2022-08-24 19:30:09 -07:00
2022-08-24 19:30:09 -07:00
2024-09-04 13:10:43 +01:00
2025-04-09 20:02:51 -07:00
2025-04-09 20:02:51 -07:00
2024-01-23 10:48:07 +01:00
2025-02-17 16:45:19 -08:00
2024-02-06 10:19:06 +01:00
2024-02-13 10:10:44 -08:00
2025-08-20 19:26:21 -07:00
2025-05-12 18:10:55 -07:00
2023-12-14 18:38:35 -08:00
2025-05-12 18:10:55 -07:00
2024-06-19 18:42:10 +02:00
2024-06-19 18:42:10 +02:00
2025-05-20 18:14:08 -07:00
2025-07-01 19:32:45 -07:00
2025-07-01 19:32:45 -07:00
2025-07-01 19:32:45 -07:00
2025-07-01 19:32:45 -07:00
2022-05-12 16:52:18 -07:00
2023-12-23 00:26:32 +00:00
2022-08-05 08:59:15 +01:00
2023-08-02 11:40:49 +01:00
2025-09-23 10:12:15 +02:00
2025-08-14 17:45:36 -07:00
2025-04-09 19:13:43 -07:00
2022-10-19 14:04:36 +01:00
2025-08-01 13:51:41 -07:00
2025-02-17 16:45:19 -08:00
2025-09-26 17:48:37 -07:00
2024-03-26 12:29:25 +01:00
2025-09-02 16:57:00 -07:00
2023-12-08 12:12:16 +00:00
2023-12-08 12:12:16 +00:00
2025-06-19 15:24:09 +02:00
2025-09-26 15:23:33 -07:00
2025-06-18 18:30:51 -07:00
2025-10-27 16:13:43 -07:00
2023-01-19 09:27:15 -08:00
2023-12-23 00:26:32 +00:00
2025-10-29 18:28:30 -07:00
2022-06-30 11:34:10 -07:00
2024-10-04 11:52:20 -07:00
2024-10-04 11:52:20 -07:00
2025-05-27 17:31:42 -07:00
2025-05-27 17:31:42 -07:00
2025-05-27 17:31:42 -07:00
2025-07-15 15:26:47 +02:00
2024-02-02 21:10:36 -08:00
2023-02-02 13:29:51 +01:00
2024-12-04 19:22:20 -08:00
2025-02-03 10:13:27 +00:00
2024-06-28 18:13:00 -07:00
2024-08-22 12:55:47 +02:00
2025-03-31 16:44:25 -07:00
2025-10-14 15:12:18 +02:00
2025-08-01 14:40:19 -07:00
2025-06-19 15:24:08 +02:00
2023-12-08 12:12:16 +00:00
2023-12-08 12:12:16 +00:00
2024-08-24 09:55:01 +02:00
2024-05-16 19:30:12 -07:00
2025-09-08 12:57:05 -07:00