[PATCH net 00/14] mptcp: misc fixes for v7.3-rc1

"Matthieu Baerts (NGI0)" <[email protected]>
Newsgroups org.kernel.vger.stable,dev.linux.lists.mptcp,org.kernel.vger.linux-kernel,org.kernel.vger.linux-kselftest,org.kernel.vger.netdev
Message-ID <20260824-net-mptcp-misc-fixes-7-3-rc1-v1-0-a92309d121ca@kernel.org>
Here are various unrelated fixes:

- Patch 1: Do not reschedule the RTX timer for sockets that fell back to
  TCP. A fix for v5.7.

- Patch 2: Avoid copying thmac which will not be used and could be
  uninitialised. A fix for v5.7.

- Patch 3: Re-set the request backup flag when SYN cookies are used. A
  fix for v5.9.

- Patch 4: Drop pending ADD_ADDR when removing ID0, and avoid a WARN. A
  fix for v5.13.

- Patch 5: Handle invalid suboptions where the checksum is requested in
  the MP_CAPABLE 4th ACK with data, but not added in the option. A fix
  for v5.14.

- Patch 6: Fix a use-after-free in the selftests that could lead to
  false positive. A fix for v5.17.

- Patch 7: Limit new addresses with the userspace PM to avoid an address
  ID overflow. A fix for v5.19.

- Patch 8: Reset the ADD_ADDR retransmission counter when the timer is
  reused. A fix for v5.19.

- Patch 9: Remove unneeded and confusing READ_ONCE() annotations. A fix
  for v6.13.

- Patches 10-11: Get nstat counters for the current test, not since the
  creation of the netns. A fix for v6.19.

- Patch 12: Fix an uninit-value in mptcp_write_data_fin for a corner
  case now that only a part of the tcp_out_options struct is reset. A
  fix for v7.1.

- Patches 13-14: Two follow-up patches addressing minor comments
  discovered after the human review. A fix for v7.3-rc0.

Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
---
Gang Yan (1):
      selftests: mptcp: fix an UAF in mptcp_connect.c

Kalpan Jani (1):
      mptcp: pm: kernel: drop pending ADD_ADDR when removing ID0

Matthieu Baerts (NGI0) (7):
      mptcp: subflow: no need to copy thmac during ulp_clone
      mptcp: syncookies: remember the request backup flag
      mptcp: options: handle MPC data + csum reqd + no csum
      mptcp: pm: reset retrans_time when ADD_ADDR entry is reused
      selftests: mptcp: lib: dump nstat for the right test
      selftests: mptcp: lib: get counters for the right test
      mptcp: options: fix uninit-value in mptcp_write_data_fin

Paolo Abeni (4):
      mptcp: do not reschedule the RTX timer for fallback sockets
      mptcp: remove unneeded READ_ONCE() annotation
      mptcp: being below memory limit is a likely() condition
      mptcp: avoid pruning for OoW data

Qing Luo (1):
      mptcp: pm: userspace: fix address ID overflow

 net/mptcp/options.c                               |  8 ++++---
 net/mptcp/pm.c                                    |  2 +-
 net/mptcp/pm_kernel.c                             |  8 +++++++
 net/mptcp/pm_userspace.c                          | 18 ++++++++++----
 net/mptcp/protocol.c                              | 29 +++++++++++++----------
 net/mptcp/protocol.h                              |  1 +
 net/mptcp/subflow.c                               |  1 -
 net/mptcp/syncookies.c                            |  5 +++-
 tools/testing/selftests/net/mptcp/mptcp_connect.c |  4 +++-
 tools/testing/selftests/net/mptcp/mptcp_lib.sh    | 26 +++++++++++---------
 10 files changed, 68 insertions(+), 34 deletions(-)
---
base-commit: 7cbfb180945ce529608e4d4e24a6d483699fab1e
change-id: 20260824-net-mptcp-misc-fixes-7-3-rc1-6a4d6223ec41

Best regards,
--  
Matthieu Baerts (NGI0) <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.