All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] tcp: fix tcp_base_mss on passive connections and test MTU probing
@ 2026-11-03  7:09 ` Yongjian Wang via B4 Relay
  0 siblings, 0 replies; 14+ messages in thread
From: Yongjian Wang @ 2026-11-03  7:09 UTC (permalink / raw)
  To: ncardwell, horms, edumazet, kuba, kuniyu, shuah, davem, pabeni
  Cc: netdev, panweiping3, linux-kselftest, linux-kernel, Yongjian Wang

While adding selftests for MTU probing, I noticed that passive
connections do not start at tcp_base_mss with tcp_mtu_probing=2.
Patch 1 fixes that and patch 2 adds a regression test.

This has been wrong since 2014 and only matters with a non-default
sysctl, so I am sending it to net-next. Patch 1 changes behaviour for
users of tcp_mtu_probing=2. Please let me know if you would prefer it
to go through net or to be backported to stable.

Patches 3 and 4 add the missing coverage for black hole detection
(tcp_mtu_probing=1) and for the MTU search on active connections
(tcp_mtu_probing=2).

---
Yongjian Wang (4):
      tcp: sync MSS after enabling MTU probing on passive connections
      selftests/net: packetdrill: test tcp_base_mss on passive connections
      selftests/net: packetdrill: add TCP black hole detection test
      selftests/net: packetdrill: add TCP MTU probing test

 net/ipv4/tcp_input.c                               |  1 +
 .../net/packetdrill/tcp_mtu_probing_blackhole.pkt  | 37 +++++++++++++++++++
 .../net/packetdrill/tcp_mtu_probing_passive.pkt    | 27 ++++++++++++++
 .../net/packetdrill/tcp_mtu_probing_search.pkt     | 43 ++++++++++++++++++++++
 4 files changed, 108 insertions(+)
---
base-commit: 4dd16e31135ea8437a720222df34e8745f385d6d
change-id: 20261103-mtu-probing-series-a87b39fdbedf

Best regards,
--  
Yongjian Wang <echoowall@gmail.com>


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2026-11-08  3:30 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-03  7:09 [PATCH net-next 0/4] tcp: fix tcp_base_mss on passive connections and test MTU probing Yongjian Wang
2026-11-03  7:09 ` Yongjian Wang via B4 Relay
2026-11-03  7:09 ` [PATCH net-next 1/4] tcp: sync MSS after enabling MTU probing on passive connections Yongjian Wang
2026-11-03  7:09   ` Yongjian Wang via B4 Relay
2026-11-07 17:53   ` Neal Cardwell
2026-11-07 19:15     ` Kuniyuki Iwashima
2026-11-08  3:17       ` Neal Cardwell
2026-11-08  3:30         ` Kuniyuki Iwashima
2026-11-03  7:09 ` [PATCH net-next 2/4] selftests/net: packetdrill: test tcp_base_mss " Yongjian Wang
2026-11-03  7:09   ` Yongjian Wang via B4 Relay
2026-11-03  7:09 ` [PATCH net-next 3/4] selftests/net: packetdrill: add TCP black hole detection test Yongjian Wang
2026-11-03  7:09   ` Yongjian Wang via B4 Relay
2026-11-03  7:09 ` [PATCH net-next 4/4] selftests/net: packetdrill: add TCP MTU probing test Yongjian Wang
2026-11-03  7:09   ` Yongjian Wang via B4 Relay

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.