From: Andi Kleen Date: Mon, 13 Jun 2005 21:24:52 +0000 (-0700) Subject: [TCP]: Adjust TCP mem order check to new alloc_large_system_hash X-Git-Tag: v2.6.12~28^2~10 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7626486c3c4ce456b11a7944edf164ef76fc599;p=linux-2.6 [TCP]: Adjust TCP mem order check to new alloc_large_system_hash Signed-off-by: Andi Kleen Signed-off-by: David S. Miller --- diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index a037bafcba..0d9a4fd5f1 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c @@ -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;