Skip to content

tcp: Clean up SYN+ACK RTO code and apply max RTO.

Kuniyuki Iwashima netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 6 repliesApplied 6/6

Patches in v1 All 6 applied

#Subject and filesSizeRepliesApplied
1/6tcp: Call tcp_syn_ack_timeout() directly.include/net/request_sock.h net/ipv4/inet_connection_sock.c net/ipv4/tcp_ipv4.c +2 more+4 -61 replyApplied
2/6tcp: Remove timeout arg from reqsk_queue_hash_req().include/net/inet_connection_sock.h net/ipv4/inet_connection_sock.c net/ipv4/tcp_input.c+11 -171 replyApplied
3/6tcp: Remove redundant init for req->num_timeout.net/ipv4/inet_connection_sock.c+0 -21 replyApplied
4/6tcp: Remove timeout arg from reqsk_timeout().include/net/inet_connection_sock.h include/net/tcp.h net/ipv4/inet_connection_sock.c +1 more+11 -111 replyApplied
5/6tcp: Apply max RTO to non-TFO SYN+ACK.include/net/tcp.h+2 -11 replyApplied
6/6selftest: packetdrill: Add max RTO test for SYN+ACK.tools/testing/selftests/net/packetdrill/tcp_rto_synack_rto_max.pkt+54 -01 replyApplied

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchEric Dumazet
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 net-next 0/6] tcp: Clean up SYN+ACK RTO code and apply max RTO.

Patch 1 - 4 are misc cleanup.

Patch 5 applies max RTO to non-TFO SYN+ACK.

Patch 6 adds a test for max RTO of SYN+ACK.

Kuniyuki Iwashima (6):
tcp: Call tcp_syn_ack_timeout() directly.
tcp: Remove timeout arg from reqsk_queue_hash_req().
tcp: Remove redundant init for req->num_timeout.
tcp: Remove timeout arg from reqsk_timeout().
tcp: Apply max RTO to non-TFO SYN+ACK.
selftest: packetdrill: Add max RTO test for SYN+ACK.

 include/net/inet_connection_sock.h            | 11 +---
 include/net/request_sock.h                    |  1 -
 include/net/tcp.h                             |  8 +++
 net/ipv4/inet_connection_sock.c               | 19 ++++---
 net/ipv4/tcp_input.c                          | 14 ++---
 net/ipv4/tcp_ipv4.c                           |  1 -
 net/ipv4/tcp_minisocks.c                      |  5 +-
 net/ipv4/tcp_timer.c                          |  3 +-
 net/ipv6/tcp_ipv6.c                           |  1 -
 .../packetdrill/tcp_rto_synack_rto_max.pkt    | 54 +++++++++++++++++++
 10 files changed, 81 insertions(+), 36 deletions(-)
 create mode 100644 tools/testing/selftests/net/packetdrill/tcp_rto_synack_rto_max.pkt
Signature · 1 line
2.51.2.1026.g39e6a42477-goog