summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2005-06-13 23:24:52 +0200
committerDavid S. Miller <davem@davemloft.net>2005-06-13 23:24:52 +0200
commite7626486c3c4ce456b11a7944edf164ef76fc599 (patch)
tree78e374b63ebc2c8ca354203d2bbe866d2d7a415f /net/ipv4
parent[NET]: linux/if_tr.h needs asm/byteorder.h (diff)
downloadlinux-e7626486c3c4ce456b11a7944edf164ef76fc599.tar.xz
linux-e7626486c3c4ce456b11a7944edf164ef76fc599.zip
[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>
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index a037bafcba3c..0d9a4fd5f1a4 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;