* [PATCH v2 2/4] tcp: use TCP_BASE_MSS to set basic mss value
@ 2010-12-02 4:04 Shan Wei
2010-12-02 21:28 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Shan Wei @ 2010-12-02 4:04 UTC (permalink / raw)
To: David Miller, jheffner; +Cc: Network-Maillist, Shan Wei
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 <jheffner@psc.edu>
Date: Mon Mar 20 17:53:41 2006 -0800
[TCP]: MTU probing
Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
---
net/ipv4/tcp_output.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index bb8f547..7f65ce6 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -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;
--
1.6.3.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2 2/4] tcp: use TCP_BASE_MSS to set basic mss value
2010-12-02 4:04 [PATCH v2 2/4] tcp: use TCP_BASE_MSS to set basic mss value Shan Wei
@ 2010-12-02 21:28 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2010-12-02 21:28 UTC (permalink / raw)
To: shanwei; +Cc: jheffner, netdev
From: Shan Wei <shanwei@cn.fujitsu.com>
Date: Thu, 02 Dec 2010 12:04:50 +0800
>
> 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 <jheffner@psc.edu>
> Date: Mon Mar 20 17:53:41 2006 -0800
>
> [TCP]: MTU probing
>
> Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
> ---
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-02 21:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-02 4:04 [PATCH v2 2/4] tcp: use TCP_BASE_MSS to set basic mss value Shan Wei
2010-12-02 21:28 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).