Commit e7626486 authored by Andi Kleen's avatar Andi Kleen Committed by David S. Miller

[TCP]: Adjust TCP mem order check to new alloc_large_system_hash

Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 03722adc
...@@ -2338,7 +2338,7 @@ void __init tcp_init(void) ...@@ -2338,7 +2338,7 @@ void __init tcp_init(void)
(tcp_bhash_size * sizeof(struct tcp_bind_hashbucket)); (tcp_bhash_size * sizeof(struct tcp_bind_hashbucket));
order++) order++)
; ;
if (order > 4) { if (order >= 4) {
sysctl_local_port_range[0] = 32768; sysctl_local_port_range[0] = 32768;
sysctl_local_port_range[1] = 61000; sysctl_local_port_range[1] = 61000;
sysctl_tcp_max_tw_buckets = 180000; sysctl_tcp_max_tw_buckets = 180000;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment