mirror-linux/tools/testing/selftests/net/mptcp
Matthieu Baerts (NGI0) 1777f349ff 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: 85df533a78 ("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>
2026-03-04 18:21:13 -08:00
..
.gitignore selftests: mptcp: ignore mptcp_diag binary 2025-03-31 16:52:39 -07:00
Makefile selftests: mptcp: connect: cover splice mode 2026-02-02 18:15:32 -08:00
config selftests: net: sort configs 2025-10-06 13:12:59 -07:00
diag.sh selftests: mptcp: shellcheck: support v0.11.0 2025-09-09 18:39:52 -07:00
mptcp_connect.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2026-02-11 15:14:35 +01:00
mptcp_connect.sh selftests: mptcp: get stats just before timing out 2025-11-17 19:27:47 -08:00
mptcp_connect_checksum.sh selftests: mptcp: connect: also cover checksum 2025-07-21 16:21:30 -07:00
mptcp_connect_mmap.sh selftests: mptcp: connect: also cover alt modes 2025-07-21 16:21:30 -07:00
mptcp_connect_sendfile.sh selftests: mptcp: connect: also cover alt modes 2025-07-21 16:21:30 -07:00
mptcp_connect_splice.sh selftests: mptcp: connect: cover splice mode 2026-02-02 18:15:32 -08:00
mptcp_diag.c selftests: mptcp: diag: sort all #include 2026-02-04 18:45:34 -08:00
mptcp_inq.c selftests: mptcp: Mark xerror and die_perror __noreturn 2026-01-05 16:28:07 -08:00
mptcp_join.sh selftests: mptcp: join: check removing signal+subflow endp 2026-03-04 18:21:13 -08:00
mptcp_lib.sh selftests: mptcp: get stats just before timing out 2025-11-17 19:27:47 -08:00
mptcp_sockopt.c selftests: mptcp: Mark xerror and die_perror __noreturn 2026-01-05 16:28:07 -08:00
mptcp_sockopt.sh selftests: mptcp: get stats just before timing out 2025-11-17 19:27:47 -08:00
pm_netlink.sh selftests: mptcp: pm: ensure unknown flags are ignored 2025-12-08 23:54:02 -08:00
pm_nl_ctl.c selftests: mptcp: pm: ensure unknown flags are ignored 2025-12-08 23:54:02 -08:00
settings selftests: mptcp: increase timeout to 30 min 2024-02-01 09:06:37 -08:00
simult_flows.sh selftests: mptcp: more stable simult_flows tests 2026-03-04 18:21:12 -08:00
userspace_pm.sh selftests: mptcp: wait for port instead of sleep 2025-11-17 19:27:47 -08:00