selftests: mptcp: userspace pm remove initial subflow
authorGeliang Tang <geliang.tang@suse.com>
Tue, 28 Nov 2023 23:18:51 +0000 (15:18 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 30 Nov 2023 04:06:18 +0000 (20:06 -0800)
commite3b47e460b4bd0c61d0082f1ac02650dcb79e5d1
tree4661b59da2b9a953c296728c1965d66ddbbb2723
parentb3ac570aae6b73eb810207583af0693adca30543
selftests: mptcp: userspace pm remove initial subflow

This patch adds a selftest for userspace PM to remove the initial
subflow.

Use userspace_pm_add_sf() to add a subflow, and pass initial IP address
to userspace_pm_rm_sf() to remove the initial subflow.

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-7-8d6b94150f6b@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/mptcp_join.sh