summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorGeliang Tang <tanggeliang@kylinos.cn>2025-08-15 19:28:23 +0200
committerJakub Kicinski <kuba@kernel.org>2025-08-18 17:39:58 -0700
commitf5ce0714623cffd00bf2a83e890d09c609b7f50a (patch)
tree69761387e2f544c34b8cc0a1cc925ce020d84870 /Documentation
parent5d13349472ac8abcbcb94407969aa0fdc2e1f1be (diff)
downloadlinux-f5ce0714623cffd00bf2a83e890d09c609b7f50a.tar.gz
linux-f5ce0714623cffd00bf2a83e890d09c609b7f50a.tar.bz2
linux-f5ce0714623cffd00bf2a83e890d09c609b7f50a.zip
mptcp: disable add_addr retransmission when timeout is 0
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: 93f323b9cccc ("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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/networking/mptcp-sysctl.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/networking/mptcp-sysctl.rst b/Documentation/networking/mptcp-sysctl.rst
index 5bfab01eff5a..1683c139821e 100644
--- a/Documentation/networking/mptcp-sysctl.rst
+++ b/Documentation/networking/mptcp-sysctl.rst
@@ -12,6 +12,8 @@ add_addr_timeout - INTEGER (seconds)
resent to an MPTCP peer that has not acknowledged a previous
ADD_ADDR message.
+ Do not retransmit if set to 0.
+
The default value matches TCP_RTO_MAX. This is a per-namespace
sysctl.