projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9527a3
)
tcp: use TCP_BASE_MSS to set basic mss value
author
Shan Wei
<
[email protected]
>
Wed, 1 Dec 2010 18:04:50 +0000
(18:04 +0000)
committer
David S. Miller
<
[email protected]
>
Thu, 2 Dec 2010 21:27:32 +0000
(13:27 -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 <
[email protected]
>
Date: Mon Mar 20 17:53:41 2006 -0800
[TCP]: MTU probing
Signed-off-by: Shan Wei <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/ipv4/tcp_output.c
patch
|
blob
|
history
diff --git
a/net/ipv4/tcp_output.c
b/net/ipv4/tcp_output.c
index 5f29b2e20e23b524a218a6d2e5956f428509b69e..749b6498588e8389c96c555730a34d4f7d424321 100644
(file)
--- 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;