tcp: Small fixes for DEFER_CONNECT.
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | tcp: Clear DEFER_CONNECT before tcp_connect() and in tcp_abort().include/ net/ net/ +1 more | +17 | 3 replies | Applied |
| 2/3 | tcp: Drop any segments if DEFER_CONNECT is set.net/ net/ net/ | +11 | 0 replies | Applied |
| 3/3 | selftest: packetdrill: Add test for DEFER_CONNECT.tools/ | +61 | 0 replies | Applied |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Matthieu Baerts (NGI0) |
|---|---|
| 1/3 | A-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 net 0/3] tcp: Small fixes for DEFER_CONNECT.
Chris Mason reported a bug that TFO client socket can accept segments even before it sends SYN.
He provided a patch too, but it needed some adjustments (Patch 2).
Patch 1 is a prereq fix for Patch 2, and Patch 3 is packetdrill test for the reported bug.
Chris Mason (1):
tcp: Drop any segments if DEFER_CONNECT is set.
Kuniyuki Iwashima (2):
tcp: Clear DEFER_CONNECT before tcp_connect() and in tcp_abort().
selftest: packetdrill: Add test for DEFER_CONNECT.
include/net/inet_common.h | 2 +- net/ipv4/af_inet.c | 10 +-- net/ipv4/tcp.c | 9 ++- net/ipv4/tcp_input.c | 9 +++ net/ipv4/tcp_ipv4.c | 2 +- net/ipv6/tcp_ipv6.c | 2 +- net/mptcp/protocol.c | 5 +- .../tcp_fastopen_client_defer-connect.pkt | 61 +++++++++++++++++++ 8 files changed, 89 insertions(+), 11 deletions(-) create mode 100644 tools/testing/selftests/net/packetdrill/tcp_fastopen_client_defer-connect.pkt
Signature · 1 line
2.56.0.455.g6c5a503b38-goog