Skip to content

Commit dbd0aa9

Browse files
matttbegregkh
authored andcommitted
selftests: mptcp: join: mark 'delete re-add signal' as skipped if not supported
[ Upstream commit c3496c0 ] 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: b5e2fb8 ("selftests: mptcp: add explicit test case for remove/readd") 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/20251020-net-mptcp-c-flag-late-add-addr-v1-4-8207030cb0e8@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent e762ddf commit dbd0aa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/net/mptcp/mptcp_join.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3823,7 +3823,7 @@ endpoint_tests()
38233823

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

0 commit comments

Comments
 (0)