mbox series

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

Message ID 20240514011335.176158-1-martineau@kernel.org (mailing list archive)
Headers show
Series mptcp: small improvements, fix and clean-ups | expand

Message

Mat Martineau May 14, 2024, 1:13 a.m. UTC
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(-)

Comments

patchwork-bot+netdevbpf@kernel.org May 14, 2024, 1:40 a.m. UTC | #1
Hello:

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

On Mon, 13 May 2024 18:13:24 -0700 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/8] mptcp: SO_KEEPALIVE: fix getsockopt support
    https://git.kernel.org/netdev/net-next/c/a65198136eaa
  - [net-next,v2,2/8] mptcp: fix full TCP keep-alive support
    https://git.kernel.org/netdev/net-next/c/bd11dc4fb969
  - [net-next,v2,3/8] mptcp: sockopt: info: stop early if no buffer
    https://git.kernel.org/netdev/net-next/c/ce5f6f71b029
  - [net-next,v2,4/8] mptcp: add net.mptcp.available_schedulers
    https://git.kernel.org/netdev/net-next/c/73c900aa3660
  - [net-next,v2,5/8] mptcp: prefer strscpy over strcpy
    https://git.kernel.org/netdev/net-next/c/5eae7a8202f3
  - [net-next,v2,6/8] mptcp: remove unnecessary else statements
    https://git.kernel.org/netdev/net-next/c/00797af95f5e
  - [net-next,v2,7/8] mptcp: move mptcp_pm_gen.h's include
    https://git.kernel.org/netdev/net-next/c/76a86686e3f0
  - [net-next,v2,8/8] mptcp: include inet_common in mib.h
    https://git.kernel.org/netdev/net-next/c/7fad5b375611

You are awesome, thank you!