[TCP]: Adjust TCP mem order check to new alloc_large_system_hash
authorAndi Kleen <ak@suse.de>
Mon, 13 Jun 2005 21:24:52 +0000 (14:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Jun 2005 21:24:52 +0000 (14:24 -0700)
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp.c

index a037bafcba3c09234e7bfcfbf59f15acb71a8f95..0d9a4fd5f1a40cb568b691c19a571276b1c7a12d 100644 (file)
@@ -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;