mbox series

[net-next,v2,0/8] mptcp: various small and unrelated improvements

Message ID 20250413-net-next-mptcp-sched-mib-sft-misc-v2-0-0f83a4350150@kernel.org (mailing list archive)
Headers show
Series mptcp: various small and unrelated improvements | expand

Message

Matthieu Baerts April 13, 2025, 9:34 a.m. UTC
Here are various unrelated patches:

- Patch 1: sched: remove unused structure.

- Patch 2: sched: split the validation part, a preparation for later.

- Patch 3: pm: clarify code, not to think there is a possible UaF.
  Note: a previous version has already been sent individually to Netdev.

- Patch 4: subflow: simplify subflow_hmac_valid by passing subflow_req.

- Patch 5: mib: add counter for MPJoin rejected by the PM.

- Patch 6: selftests: validate this new MPJoinRejected counter.

- Patch 7: selftests: define nlh variable only where needed.

- Patch 8: selftests: show how to use IPPROTO_MPTCP with getaddrinfo.
  Note: a previous version has already been sent individually to Netdev.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
---
Changes in v2:
- Force b4 to use 'git show' with '--no-mailmap' not to modify patches
  2 and 7/8. The code has not been modified.
- Link to v1: https://lore.kernel.org/r/20250411-net-next-mptcp-sched-mib-sft-misc-v1-0-85ac8c6654c3@kernel.org

---
Geliang Tang (2):
      mptcp: sched: split validation part
      selftests: mptcp: diag: drop nlh parameter of recv_nlmsg

Matthieu Baerts (NGI0) (4):
      mptcp: sched: remove mptcp_sched_data
      mptcp: pass right struct to subflow_hmac_valid
      mptcp: add MPJoinRejected MIB counter
      selftests: mptcp: validate MPJoinRejected counter

Thorsten Blum (1):
      mptcp: pm: Return local variable instead of freed pointer

zhenwei pi (1):
      selftests: mptcp: use IPPROTO_MPTCP for getaddrinfo

 include/net/mptcp.h                               | 13 ++-------
 net/mptcp/mib.c                                   |  1 +
 net/mptcp/mib.h                                   |  1 +
 net/mptcp/pm.c                                    |  5 +++-
 net/mptcp/protocol.c                              |  4 ++-
 net/mptcp/protocol.h                              |  1 +
 net/mptcp/sched.c                                 | 35 ++++++++++++++---------
 net/mptcp/subflow.c                               | 12 ++++----
 tools/testing/selftests/net/mptcp/mptcp_connect.c | 21 +++++++++++---
 tools/testing/selftests/net/mptcp/mptcp_diag.c    |  7 ++---
 tools/testing/selftests/net/mptcp/mptcp_join.sh   | 26 +++++++++++++----
 11 files changed, 80 insertions(+), 46 deletions(-)
---
base-commit: 6a325aed130bb68790e765f923e76ec5669d2da7
change-id: 20250411-net-next-mptcp-sched-mib-sft-misc-25f5a6218fd8

Best regards,

Comments

patchwork-bot+netdevbpf@kernel.org April 15, 2025, 3:30 p.m. UTC | #1
Hello:

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

On Sun, 13 Apr 2025 11:34:31 +0200 you wrote:
> Here are various unrelated patches:
> 
> - Patch 1: sched: remove unused structure.
> 
> - Patch 2: sched: split the validation part, a preparation for later.
> 
> - Patch 3: pm: clarify code, not to think there is a possible UaF.
>   Note: a previous version has already been sent individually to Netdev.
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/8] mptcp: sched: remove mptcp_sched_data
    https://git.kernel.org/netdev/net-next/c/6e83166dd800
  - [net-next,v2,2/8] mptcp: sched: split validation part
    https://git.kernel.org/netdev/net-next/c/760ff076695c
  - [net-next,v2,3/8] mptcp: pm: Return local variable instead of freed pointer
    https://git.kernel.org/netdev/net-next/c/def9d0958bef
  - [net-next,v2,4/8] mptcp: pass right struct to subflow_hmac_valid
    https://git.kernel.org/netdev/net-next/c/60cbf3158513
  - [net-next,v2,5/8] mptcp: add MPJoinRejected MIB counter
    https://git.kernel.org/netdev/net-next/c/4ce7fb8de556
  - [net-next,v2,6/8] selftests: mptcp: validate MPJoinRejected counter
    https://git.kernel.org/netdev/net-next/c/98dea4fd6315
  - [net-next,v2,7/8] selftests: mptcp: diag: drop nlh parameter of recv_nlmsg
    https://git.kernel.org/netdev/net-next/c/f9c7504d3055
  - [net-next,v2,8/8] selftests: mptcp: use IPPROTO_MPTCP for getaddrinfo
    https://git.kernel.org/netdev/net-next/c/a862771d1aa4

You are awesome, thank you!