linux-stable/net/mptcp
Geliang Tang 48b5547d89 mptcp: disable add_addr retransmission when timeout is 0
[ Upstream commit f5ce071462 ]

When add_addr_timeout was set to 0, this caused the ADD_ADDR to be
retransmitted immediately, which looks like a buggy behaviour. Instead,
interpret 0 as "no retransmissions needed".

The documentation is updated to explicitly state that setting the timeout
to 0 disables retransmission.

Fixes: 93f323b9cc ("mptcp: add a new sysctl add_addr_timeout")
Cc: stable@vger.kernel.org
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-5-521fe9957892@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
[ Apply to net/mptcp/pm_netlink.c , structural changes in mptcp_pm_alloc_anno_list ]
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-08-28 16:26:16 +02:00
..
bpf.c
crypto_test.c
crypto.c
ctrl.c
diag.c
Kconfig
Makefile
mib.c
mib.h
mptcp_diag.c
options.c mptcp: make fallback action and fallback decision atomic 2025-08-28 16:26:12 +02:00
pm_netlink.c mptcp: disable add_addr retransmission when timeout is 0 2025-08-28 16:26:16 +02:00
pm_userspace.c
pm.c mptcp: plug races between subflow fail and subflow creation 2025-08-28 16:26:12 +02:00
protocol.c mptcp: reset fallback status gracefully at disconnect() time 2025-08-28 16:26:12 +02:00
protocol.h mptcp: plug races between subflow fail and subflow creation 2025-08-28 16:26:12 +02:00
sockopt.c mptcp: sockopt: fix getting freebind & transparent 2025-04-25 10:44:00 +02:00
subflow.c mptcp: plug races between subflow fail and subflow creation 2025-08-28 16:26:12 +02:00
syncookies.c
token_test.c
token.c