Skip to content

Commit fdab2be

Browse files
Geliang Tangintel-lab-lkp
authored andcommitted
selftests: mptcp: disable add_addr retrans in re-add test
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]>
1 parent 154598f commit fdab2be

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)