Skip to content

Commit f92199f

Browse files
Geliang Tangkuba-moo
authored andcommitted
selftests: mptcp: disable add_addr retrans in endpoint_tests
To prevent test instability in the "delete re-add signal" test caused by ADD_ADDR retransmissions, disable retransmissions for this test by setting net.mptcp.add_addr_timeout to 0. Suggested-by: Matthieu Baerts <[email protected]> Signed-off-by: Geliang Tang <[email protected]> Reviewed-by: Matthieu Baerts (NGI0) <[email protected]> Signed-off-by: Matthieu Baerts (NGI0) <[email protected]> Link: https://patch.msgid.link/20250815-net-mptcp-misc-fixes-6-17-rc2-v1-6-521fe9957892@kernel.org Signed-off-by: Jakub Kicinski <[email protected]>
1 parent f5ce071 commit f92199f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3842,6 +3842,7 @@ endpoint_tests()
38423842
# remove and re-add
38433843
if reset_with_events "delete re-add signal" &&
38443844
mptcp_lib_kallsyms_has "subflow_rebuild_header$"; then
3845+
ip netns exec $ns1 sysctl -q net.mptcp.add_addr_timeout=0
38453846
pm_nl_set_limits $ns1 0 3
38463847
pm_nl_set_limits $ns2 3 3
38473848
pm_nl_add_endpoint $ns1 10.0.2.1 id 1 flags signal

0 commit comments

Comments
 (0)