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 NO_INITIAL_SUBFLOW flag
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_netlink.c | 4 +-
net/mptcp/pm_userspace.c | 33 ++-
net/mptcp/protocol.c | 4 +
net/mptcp/protocol.h | 15 ++
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 ++++---
9 files changed, 267 insertions(+), 112 deletions(-)
--
2.35.3