]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: mptcp: join: rm: set backup flag
authorMatthieu Baerts (NGI0) <matttbe@kernel.org>
Mon, 10 Nov 2025 18:23:41 +0000 (19:23 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 12 Nov 2025 01:49:48 +0000 (17:49 -0800)
commitaea73bae662a0e184393d6d7d0feb18d2577b9b9
tree573121cb0481b8d0cb4bea317605f30d691d0f66
parent63c643aa7b7287fdbb0167063785f89ece3f000f
selftests: mptcp: join: rm: set backup flag

Some of these 'remove' tests rarely fail because a subflow has been
reset instead of cleanly removed. This can happen when one extra subflow
which has never carried data is being closed (FIN) on one side, while
the other is sending data for the first time.

To avoid such subflows to be used right at the end, the backup flag has
been added. With that, data will be only carried on the initial subflow.

Fixes: d2c4333a801c ("selftests: mptcp: add testcases for removing addrs")
Cc: stable@vger.kernel.org
Reviewed-by: Geliang Tang <geliang@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20251110-net-mptcp-sft-join-unstable-v1-2-a4332c714e10@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/mptcp_join.sh