diff options
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r-- | net/ipv4/tcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index 4bda522d25cf..0eed64a1991d 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c | |||
@@ -2109,12 +2109,12 @@ void __init tcp_init(void) | |||
2109 | if (order >= 4) { | 2109 | if (order >= 4) { |
2110 | sysctl_local_port_range[0] = 32768; | 2110 | sysctl_local_port_range[0] = 32768; |
2111 | sysctl_local_port_range[1] = 61000; | 2111 | sysctl_local_port_range[1] = 61000; |
2112 | sysctl_tcp_max_tw_buckets = 180000; | 2112 | tcp_death_row.sysctl_max_tw_buckets = 180000; |
2113 | sysctl_tcp_max_orphans = 4096 << (order - 4); | 2113 | sysctl_tcp_max_orphans = 4096 << (order - 4); |
2114 | sysctl_max_syn_backlog = 1024; | 2114 | sysctl_max_syn_backlog = 1024; |
2115 | } else if (order < 3) { | 2115 | } else if (order < 3) { |
2116 | sysctl_local_port_range[0] = 1024 * (3 - order); | 2116 | sysctl_local_port_range[0] = 1024 * (3 - order); |
2117 | sysctl_tcp_max_tw_buckets >>= (3 - order); | 2117 | tcp_death_row.sysctl_max_tw_buckets >>= (3 - order); |
2118 | sysctl_tcp_max_orphans >>= (3 - order); | 2118 | sysctl_tcp_max_orphans >>= (3 - order); |
2119 | sysctl_max_syn_backlog = 128; | 2119 | sysctl_max_syn_backlog = 128; |
2120 | } | 2120 | } |