Commit c3496c05 authored by Matthieu Baerts (NGI0)'s avatar Matthieu Baerts (NGI0) Committed by Jakub Kicinski
Browse files

selftests: mptcp: join: mark 'delete re-add signal' as skipped if not supported



The call to 'continue_if' was missing: it properly marks a subtest as
'skipped' if the attached condition is not valid.

Without that, the test is wrongly marked as passed on older kernels.

Fixes: b5e2fb83 ("selftests: mptcp: add explicit test case for remove/readd")
Cc: stable@vger.kernel.org
Reviewed-by: default avatarGeliang Tang <geliang@kernel.org>
Signed-off-by: default avatarMatthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20251020-net-mptcp-c-flag-late-add-addr-v1-4-8207030cb0e8@kernel.org


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 973f80d7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4040,7 +4040,7 @@ endpoint_tests()

	# remove and re-add
	if reset_with_events "delete re-add signal" &&
	   mptcp_lib_kallsyms_has "subflow_rebuild_header$"; then
	   continue_if mptcp_lib_kallsyms_has "subflow_rebuild_header$"; then
		ip netns exec $ns1 sysctl -q net.mptcp.add_addr_timeout=0
		pm_nl_set_limits $ns1 0 3
		pm_nl_set_limits $ns2 3 3