Skip to content

mptcp: small improvements, fix and clean-ups

Mat Martineau mptcp 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. v2 Latest8 patches 0 repliesApplied 8/8

Patches in v2 All 8 applied

#Subject and filesSizeRepliesApplied
1/8mptcp: SO_KEEPALIVE: fix getsockopt supportnet/mptcp/sockopt.c+0 -20 repliesApplied
2/8mptcp: fix full TCP keep-alive supportnet/mptcp/protocol.h net/mptcp/sockopt.c+61 -00 repliesApplied
3/8mptcp: sockopt: info: stop early if no buffernet/mptcp/sockopt.c+4 -00 repliesApplied
4/8mptcp: add net.mptcp.available_schedulersinclude/net/mptcp.h net/mptcp/ctrl.c net/mptcp/protocol.h +1 more+52 -10 repliesApplied
5/8mptcp: prefer strscpy over strcpynet/mptcp/ctrl.c net/mptcp/protocol.c net/mptcp/sockopt.c+5 -40 repliesApplied
6/8mptcp: remove unnecessary else statementsnet/mptcp/subflow.c+17 -150 repliesApplied
7/8mptcp: move mptcp_pm_gen.h's includenet/mptcp/pm_netlink.c net/mptcp/pm_userspace.c net/mptcp/protocol.h+2 -20 repliesApplied
8/8mptcp: include inet_common in mib.hnet/mptcp/mib.h+2 -00 repliesApplied

Reviews trailers per patch

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

PatchPaolo AbeniMat MartineauGeliang TangMatthieu Baerts (NGI0)
1/8A-b
2/8A-b
3/8R-b
4/8R-b T-b R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

Cover letter [PATCH net-next v2 0/8] mptcp: small improvements, fix and clean-ups

This series contain mostly unrelated patches:

- The two first patches can be seen as "fixes". They are part of this series for -next because it looks like the last batch of fixes for v6.9 has already been sent. These fixes are not urgent, so they can wait if an unlikely v6.9-rc8 is published. About the two patches:
- Patch 1 fixes getsockopt(SO_KEEPALIVE) support on MPTCP sockets
- Patch 2 makes sure the full TCP keep-alive feature is supported, not just SO_KEEPALIVE.

- Patch 3 is a small optimisation when getsockopt(MPTCP_INFO) is used without buffer, just to check if MPTCP is still being used: no fallback to TCP.

- Patch 4 adds net.mptcp.available_schedulers sysctl knob to list packet schedulers, similar to net.ipv4.tcp_available_congestion_control.

- Patch 5 and 6 fix CheckPatch warnings: "prefer strscpy over strcpy" and "else is not generally useful after a break or return".

- Patch 7 and 8 remove and add header includes to avoid unused ones, and add missing ones to be self-contained.

v2: Rebased

Gregory Detal (1):
mptcp: add net.mptcp.available_schedulers

Matthieu Baerts (NGI0) (7):
mptcp: SO_KEEPALIVE: fix getsockopt support
mptcp: fix full TCP keep-alive support
mptcp: sockopt: info: stop early if no buffer
mptcp: prefer strscpy over strcpy
mptcp: remove unnecessary else statements
mptcp: move mptcp_pm_gen.h's include
mptcp: include inet_common in mib.h

 include/net/mptcp.h      |  3 ++
 net/mptcp/ctrl.c         | 29 ++++++++++++++++--
 net/mptcp/mib.h          |  2 ++
 net/mptcp/pm_netlink.c   |  1 +
 net/mptcp/pm_userspace.c |  1 +
 net/mptcp/protocol.c     |  5 +--
 net/mptcp/protocol.h     |  6 ++--
 net/mptcp/sched.c        | 22 ++++++++++++++
 net/mptcp/sockopt.c      | 66 ++++++++++++++++++++++++++++++++++++++--
 net/mptcp/subflow.c      | 32 ++++++++++---------
 10 files changed, 143 insertions(+), 24 deletions(-)
Signature · 1 line
2.45.0