forked from Minki/linux
[TCP]: Adjust TCP mem order check to new alloc_large_system_hash
Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
03722adce9
commit
e7626486c3
@ -2338,7 +2338,7 @@ void __init tcp_init(void)
|
||||
(tcp_bhash_size * sizeof(struct tcp_bind_hashbucket));
|
||||
order++)
|
||||
;
|
||||
if (order > 4) {
|
||||
if (order >= 4) {
|
||||
sysctl_local_port_range[0] = 32768;
|
||||
sysctl_local_port_range[1] = 61000;
|
||||
sysctl_tcp_max_tw_buckets = 180000;
|
||||
|
Loading…
Reference in New Issue
Block a user