Skip to content

Commit e762ddf

Browse files
Geliang Tanggregkh
authored andcommitted
selftests: mptcp: disable add_addr retrans in endpoint_tests
[ Upstream commit f92199f ] 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 <matttbe@kernel.org> Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn> Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Link: https://patch.msgid.link/20250815-net-mptcp-misc-fixes-6-17-rc2-v1-6-521fe9957892@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org> Stable-dep-of: c3496c0 ("selftests: mptcp: join: mark 'delete re-add signal' as skipped if not supported") Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 0e0bdce commit e762ddf

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
@@ -3824,6 +3824,7 @@ endpoint_tests()
38243824
# remove and re-add
38253825
if reset_with_events "delete re-add signal" &&
38263826
mptcp_lib_kallsyms_has "subflow_rebuild_header$"; then
3827+
ip netns exec $ns1 sysctl -q net.mptcp.add_addr_timeout=0
38273828
pm_nl_set_limits $ns1 0 3
38283829
pm_nl_set_limits $ns2 3 3
38293830
pm_nl_add_endpoint $ns1 10.0.2.1 id 1 flags signal

0 commit comments

Comments
 (0)