tcp: use TCP_BASE_MSS to set basic mss value
Subsystems (3)
PATCH v2 2/4 tcp: use TCP_BASE_MSS to set basic mss value
TCP_BASE_MSS is defined, but not used.
commit 5d424d5a introduce this macro, so use
it to initial sysctl_tcp_base_mss.
commit 5d424d5a674f782d0659a3b66d951f412901faee
Author: John Heffner <[email protected]> Date: Mon Mar 20 17:53:41 2006 -0800
[TCP]: MTU probing
Signed-off-by Shan Wei <[email protected]>
--- net/ipv4/tcp_output.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
net/ipv4/tcp_output.c +1 -1
@@ -55,7 +55,7 @@ int sysctl_tcp_workaround_signed_windows __read_mostly = 0;int sysctl_tcp_tso_win_divisor__read_mostly =3 ;int sysctl_tcp_mtu_probing__read_mostly =0 ; -int sysctl_tcp_base_mss__read_mostly =512 ; +int sysctl_tcp_base_mss__read_mostly =TCP_BASE_MSS ;/* By default, RFC2861 behavior. */ int sysctl_tcp_slow_start_after_idle__read_mostly =1 ;
Signature · 1 line
1.6.3.3
From: Shan Wei <[email protected]>
Date: Thu, 02 Dec 2010 12:04:50 +0800
Quoted 5 lines
TCP_BASE_MSSis defined, but not used.
commit5d424d5aintroduce this macro, so use
it to initialsysctl_tcp_base_mss.
Quoted 8 lines
commit
5d424d5a674f782d0659a3b66d951f412901faeeAuthor: John Heffner <[email protected]> Date: Mon Mar 20 17:53:41 2006 -0800[TCP]: MTU probing
Signed-off-by Shan Wei <[email protected]>---
Applied.