Skip to content

tcp: IPv6 support for fastopen server

Yuchung Cheng netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5tcp: move fastopen functions to tcp_fastopen.cinclude/net/tcp.h net/ipv4/tcp_fastopen.c net/ipv4/tcp_ipv4.c+200 -1851 reply
2/5tcp: simplify fast open cookie processinginclude/linux/tcp.h include/net/tcp.h net/ipv4/tcp_fastopen.c +2 more+33 -641 reply
3/5tcp: use tcp_v4_send_synack on first SYN-ACKinclude/net/tcp.h net/ipv4/tcp_fastopen.c net/ipv4/tcp_ipv4.c +2 more+85 -1051 reply
4/5tcp: improve fastopen icmp handlingnet/ipv4/tcp_ipv4.c net/ipv6/tcp_ipv6.c+31 -261 reply
5/5tcp: IPv6 support for fastopen servernet/ipv4/tcp_fastopen.c net/ipv6/tcp_ipv6.c+71 -261 reply

Reviews trailers per patch

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

PatchNeal Cardwell
1/5A-b
2/5A-b
3/5A-b
4/5A-b
5/5A-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 0/5] tcp: IPv6 support for fastopen server

This patch series add IPv6 support for fastopen server. To minimize code duplication in IPv4 and IPv6, the current v4 only code is refactored and common code is moved into net/ipv4/tcp_fastopen.c.

Also the current code uses a different function from tcp_v4_send_synack() to send the first SYN-ACK in fastopen. The new code eliminates this separate function by refactoring the child-socket and syn-ack creation code. After these refactoring in the first four patches, we can easily add the fastopen code in IPv6 by changing corresponding IPv6 functions.

Note Fast Open client already supports IPv6. This patch is for the server-side (passive open) IPv6 support only.

Daniel Lee (1):
tcp: IPv6 support for fastopen server

Yuchung Cheng (4):
tcp: move fastopen functions to tcp_fastopen.c
tcp: simplify fast open cookie processing
tcp: use tcp_v4_send_synack on first SYN-ACK
tcp: improve fastopen icmp handling

 include/linux/tcp.h      |   5 -
 include/net/tcp.h        |  15 ++-
 net/ipv4/tcp_fastopen.c  | 219 +++++++++++++++++++++++++++++++++++--
 net/ipv4/tcp_ipv4.c      | 277 +++++------------------------------------------
 net/ipv4/tcp_minisocks.c |  31 ++++++
 net/ipv4/tcp_output.c    |  23 +---
 net/ipv6/tcp_ipv6.c      |  62 ++++++++---
 7 files changed, 323 insertions(+), 309 deletions(-)
Signature · 1 line
1.9.1.423.g4596e3a