v10:
- add mptcpi_subflows_total counter, instead of no_initial_subflow
flag.
- rename the helper to __mptcp_has_initial_subflow, add READ_ONCE() in
it.
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 (8):
mptcp: add mptcpi_subflows_total counter
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: userspace pm remove id 0 address
selftests: mptcp: userspace pm remove id 0 address
include/uapi/linux/mptcp.h | 1 +
net/mptcp/pm_userspace.c | 41 +++-
net/mptcp/protocol.h | 7 +
net/mptcp/sockopt.c | 2 +
.../testing/selftests/net/mptcp/mptcp_join.sh | 206 +++++++++++++-----
.../testing/selftests/net/mptcp/mptcp_lib.sh | 12 +
.../selftests/net/mptcp/userspace_pm.sh | 87 ++++----
7 files changed, 245 insertions(+), 111 deletions(-)
--
2.35.3