selftests: mptcp: userspace pm create id 0 subflow
authorGeliang Tang <geliang.tang@suse.com>
Tue, 28 Nov 2023 23:18:49 +0000 (15:18 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 30 Nov 2023 04:06:17 +0000 (20:06 -0800)
commitb2e2248f365a7ef0687fe048c335fe1a32f98b36
tree140f3f3d3fcd7fa30fcfa5a6d4f9275154119944
parent757c828ce94905a2975873d5e90a376c701b2b90
selftests: mptcp: userspace pm create id 0 subflow

This patch adds a selftest to create id 0 subflow. Pass id 0 to the
helper userspace_pm_add_sf() to create id 0 subflow. chk_mptcp_info
shows one subflow but chk_subflows_total shows two subflows in each
namespace.

Reviewed-by: Matthieu Baerts <matttbe@kernel.org>
Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: Mat Martineau <martineau@kernel.org>
Link: https://lore.kernel.org/r/20231128-send-net-next-2023107-v4-5-8d6b94150f6b@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/mptcp_join.sh