]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: mptcp: join: check removing signal+subflow endp
authorMatthieu Baerts (NGI0) <matttbe@kernel.org>
Tue, 3 Mar 2026 10:56:06 +0000 (11:56 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 5 Mar 2026 02:21:13 +0000 (18:21 -0800)
commit1777f349ff41b62dfe27454b69c27b0bc99ffca5
treef16b8822939196a306c67faa628bbba86d044130
parent579a752464a64cb5f9139102f0e6b90a1f595ceb
selftests: mptcp: join: check removing signal+subflow endp

This validates the previous commit: endpoints with both the signal and
subflow flags should always be marked as used even if it was not
possible to create new subflows due to the MPTCP PM limits.

For this test, an extra endpoint is created with both the signal and the
subflow flags, and limits are set not to create extra subflows. In this
case, an ADD_ADDR is sent, but no subflows are created. Still, the local
endpoint is marked as used, and no warning is fired when removing the
endpoint, after having sent a RM_ADDR.

The 'Fixes' tag here below is the same as the one from the previous
commit: this patch here is not fixing anything wrong in the selftests,
but it validates the previous fix for an issue introduced by this commit
ID.

Fixes: 85df533a787b ("mptcp: pm: do not ignore 'subflow' if 'signal' flag is also set")
Cc: stable@vger.kernel.org
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20260303-net-mptcp-misc-fixes-7-0-rc2-v1-5-4b5462b6f016@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/mptcp_join.sh