mbox series

[net-next,0/4] mptcp: MPTCP support for TCP_FASTOPEN_CONNECT

Message ID 20220926232739.76317-1-mathew.j.martineau@linux.intel.com (mailing list archive)
Headers show
Series mptcp: MPTCP support for TCP_FASTOPEN_CONNECT | expand

Message

Mat Martineau Sept. 26, 2022, 11:27 p.m. UTC
RFC 8684 appendix B describes how to use TCP Fast Open with MPTCP. This
series allows TFO use with MPTCP using the TCP_FASTOPEN_CONNECT socket
option. The scope here is limited to the initiator of the connection -
support for MSG_FASTOPEN and the listener side of the connection will be
in a separate series. The preexisting TCP fastopen code does most of the
work, so these changes mostly involve plumbing MPTCP through to those
TCP functions.

Patch 1 changes the MPTCP socket option code to pass the
TCP_FASTOPEN_CONNECT option through to the initial unconnected subflow.

Patch 2 exports the existing tcp_sendmsg_fastopen() function from tcp.c

Patch 3 adds the call to tcp_sendmsg_fastopen() from the MPTCP send
function.

Patch 4 modifies mptcp_poll() to handle the deferred TFO connection.


Benjamin Hesmans (3):
  mptcp: add TCP_FASTOPEN_CONNECT socket option
  tcp: export tcp_sendmsg_fastopen
  mptcp: poll allow write call before actual connect

Dmytro Shytyi (1):
  mptcp: handle defer connect in mptcp_sendmsg

 include/net/tcp.h    |  2 ++
 net/ipv4/tcp.c       |  5 ++---
 net/mptcp/protocol.c | 26 ++++++++++++++++++++++++++
 net/mptcp/sockopt.c  | 19 ++++++++++++++++++-
 4 files changed, 48 insertions(+), 4 deletions(-)


base-commit: 4991931223e3b909aa4931face285e4658927824

Comments

patchwork-bot+netdevbpf@kernel.org Sept. 29, 2022, 2:20 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Mon, 26 Sep 2022 16:27:35 -0700 you wrote:
> RFC 8684 appendix B describes how to use TCP Fast Open with MPTCP. This
> series allows TFO use with MPTCP using the TCP_FASTOPEN_CONNECT socket
> option. The scope here is limited to the initiator of the connection -
> support for MSG_FASTOPEN and the listener side of the connection will be
> in a separate series. The preexisting TCP fastopen code does most of the
> work, so these changes mostly involve plumbing MPTCP through to those
> TCP functions.
> 
> [...]

Here is the summary with links:
  - [net-next,1/4] mptcp: add TCP_FASTOPEN_CONNECT socket option
    https://git.kernel.org/netdev/net-next/c/54635bd04701
  - [net-next,2/4] tcp: export tcp_sendmsg_fastopen
    https://git.kernel.org/netdev/net-next/c/3242abeb8da7
  - [net-next,3/4] mptcp: handle defer connect in mptcp_sendmsg
    https://git.kernel.org/netdev/net-next/c/d98a82a6afc7
  - [net-next,4/4] mptcp: poll allow write call before actual connect
    https://git.kernel.org/netdev/net-next/c/a42cf9d18278

You are awesome, thank you!