Skip to content

mptcp: support disabling Nagle's algorithm

Maxim Galaganov mptcp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tcp: expose __tcp_sock_set_cork and __tcp_sock_set_nodelayinclude/linux/tcp.h net/ipv4/tcp.c+4 -20 replies
2/3mptcp: expose mptcp_check_and_set_pendingnet/mptcp/protocol.c net/mptcp/protocol.h+2 -10 replies
3/3mptcp: support TCP_CORK and TCP_NODELAYnet/mptcp/protocol.h net/mptcp/sockopt.c+73 -15 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchPaolo Abeni
1/3
2/3
3/3A-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 mptcp-next 0/3] mptcp: support disabling Nagle's algorithm

Clients for MPTCP-enabled transparent proxies may experience unwanted delays when Nagle's algorithm combines small packets into larger ones.

This series adds support for TCP_NODELAY socket option in [gs]etsockopt for MPTCP sockets. It also adds TCP_CORK support since the two are closely coupled.

Patch 1 exposes __tcp_sock_set_cork() and __tcp_sock_set_nodelay() for use in patch 3.

Patch 2 exposes mptcp_check_and_set_pending() for setting the MPTCP_PUSH_PENDING bit when cork is cleared or nodelay is set.

Patch 3 adds support for getting and setting the cork and nodelay sockopts.

Maxim Galaganov (3):
tcp: expose __tcp_sock_set_cork and __tcp_sock_set_nodelay
mptcp: expose mptcp_check_and_set_pending
mptcp: support TCP_CORK and TCP_NODELAY

 include/linux/tcp.h  |  2 ++
 net/ipv4/tcp.c       |  4 +--
 net/mptcp/protocol.c |  2 +-
 net/mptcp/protocol.h |  5 +++-
 net/mptcp/sockopt.c  | 70 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 79 insertions(+), 4 deletions(-)
Signature · 1 line
2.33.1