Skip to content

tcp: Refine TFO client fallback behaviour.

Kuniyuki Iwashima netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tcp: Make TFO client fallback behaviour consistent.net/ipv4/tcp_output.c+21 -189 replies
2/4selftest: packetdrill: Import TFO sendto tests.tools/testing/selftests/net/packetdrill/tcp_fastopen_client_nonblocking-sendto-empty-buf.pkt tools/testing/selftests/net/packetdrill/tcp_fastopen_client_nonblocking-sendto-errnos.pkt+170 -00 replies
3/4tcp: Don't acknowledge SYN+ACK payload to TFO fallback client.net/ipv4/tcp_input.c+9 -80 replies
4/4selftest: packetdrill: Import client_synack-data.pkt.tools/testing/selftests/net/packetdrill/tcp_fastopen_client_synack-data.pkt+150 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 net-next 0/4] tcp: Refine TFO client fallback behaviour.

Patch 1 & 3 refine weird TFO fallback behaviours that I found while importing TFO client packetdrill tests from google/packetdrill on GitHub.

Patch 2 & 4 import packetdrill tests to cover Patch 1 & 3 scenarios respectively.

For the imported tests, these common changes are applied:

* Add SPDX header
* Adjust path to default.sh
* Adjust sysctl w/ set_sysctls.py
* Use SOCK_NONBLOCK for socket() instead of fcntl()
* Remove unnecessary delay (e.g. +.17 socket(...), etc)

Kuniyuki Iwashima (4):
tcp: Make TFO client fallback behaviour consistent.
selftest: packetdrill: Import TFO sendto tests.
tcp: Don't acknowledge SYN+ACK payload to TFO fallback client.
selftest: packetdrill: Import client_synack-data.pkt.

 net/ipv4/tcp_input.c                          |  17 +-
 net/ipv4/tcp_output.c                         |  39 ++---
 ...en_client_nonblocking-sendto-empty-buf.pkt |  45 ++++++
 ...topen_client_nonblocking-sendto-errnos.pkt | 125 +++++++++++++++
 .../tcp_fastopen_client_synack-data.pkt       | 150 ++++++++++++++++++
 5 files changed, 350 insertions(+), 26 deletions(-)
 create mode 100644 tools/testing/selftests/net/packetdrill/tcp_fastopen_client_nonblocking-sendto-empty-buf.pkt
 create mode 100644 tools/testing/selftests/net/packetdrill/tcp_fastopen_client_nonblocking-sendto-errnos.pkt
 create mode 100644 tools/testing/selftests/net/packetdrill/tcp_fastopen_client_synack-data.pkt
Signature · 1 line
2.51.0.788.g6d19910ace-goog