[PATCH mptcp-next v9 0/9] userspace pm remove id 0 subflow & address

Geliang Tang posted 9 patches 7 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/multipath-tcp/mptcp_net-next tags/patchew/cover.1694702984.git.geliang.tang@suse.com
Maintainers: Matthieu Baerts <matthieu.baerts@tessares.net>, Mat Martineau <martineau@kernel.org>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Shuah Khan <shuah@kernel.org>, Kishen Maloor <kishen.maloor@intel.com>, Florian Westphal <fw@strlen.de>
There is a newer version of this series
include/uapi/linux/mptcp.h                    |   1 +
net/mptcp/pm_netlink.c                        |   3 +-
net/mptcp/pm_userspace.c                      |  33 ++-
net/mptcp/protocol.h                          |   5 +
net/mptcp/sockopt.c                           |   2 +
.../testing/selftests/net/mptcp/mptcp_join.sh | 221 +++++++++++++-----
.../testing/selftests/net/mptcp/mptcp_lib.sh  |  12 +
.../selftests/net/mptcp/userspace_pm.sh       |  87 ++++---
8 files changed, 252 insertions(+), 112 deletions(-)
[PATCH mptcp-next v9 0/9] userspace pm remove id 0 subflow & address
Posted by Geliang Tang 7 months, 2 weeks ago
v9:
 - update __mptcp_check_initial_subflow().
 - split the code that relies on the 'ss' modification into patch 9.

v8:
 - merge two squash-to patches for v7.
 - address to #428 too.

v7:
 - move evts_get_info into mptcp_lib.sh, update userspace_pm.sh with
   this helper too.
 - drop the last two cleanup patches, they'll be sent in another series.

v6:
 - add a new helper get_info_value, update chk_mptcp_info(),
   verify_listener_events() and pedit_action_pkts() too.
 - only patch 1, 2, 4 are changed, other patches are the same as v5.

v5:
 - update userspace_pm_add_addr/sf helpers.
 - add userspace_pm_rm_addr/sf helpers.
 - remove id 0 subflow or address will send MP_RST, add chk_rst_nr for
   them.
 - add two selftests cleanups using for-loop.

v4:
 - add evts_get_info and chk_subflows helpers.
 - split the selftests patch into three.

v3:
 - address Matt's comments in v2.

v2:
 - fix CI errors.

This patchset addresses #379 and #391, add the abilities to remove id 0
subflow and address for userspace PM. And a selftest.

Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/379
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/391
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/428

Geliang Tang (9):
  selftests: mptcp: add evts_get_info helper
  selftests: mptcp: update userspace pm test helpers
  selftests: mptcp: userspace pm remove id 0 subflow
  mptcp: userspace pm allow creating id 0 subflow
  selftests: mptcp: userspace pm create id 0 subflow
  mptcp: add no_initial_subflow mptcpi_flags
  mptcp: userspace pm remove id 0 address
  selftests: mptcp: userspace pm remove id 0 address
  selftests: mptcp: check no_initial_subflow flag

 include/uapi/linux/mptcp.h                    |   1 +
 net/mptcp/pm_netlink.c                        |   3 +-
 net/mptcp/pm_userspace.c                      |  33 ++-
 net/mptcp/protocol.h                          |   5 +
 net/mptcp/sockopt.c                           |   2 +
 .../testing/selftests/net/mptcp/mptcp_join.sh | 221 +++++++++++++-----
 .../testing/selftests/net/mptcp/mptcp_lib.sh  |  12 +
 .../selftests/net/mptcp/userspace_pm.sh       |  87 ++++---
 8 files changed, 252 insertions(+), 112 deletions(-)

-- 
2.35.3