summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2005-06-13 14:24:52 -0700
committerDavid S. Miller <davem@davemloft.net>2005-06-13 14:24:52 -0700
commite7626486c3c4ce456b11a7944edf164ef76fc599 (patch)
tree78e374b63ebc2c8ca354203d2bbe866d2d7a415f /net/ipv4
parent03722adce90a248d0bea77d390decbd05991e2d2 (diff)
downloadop-kernel-dev-e7626486c3c4ce456b11a7944edf164ef76fc599.zip
op-kernel-dev-e7626486c3c4ce456b11a7944edf164ef76fc599.tar.gz
[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 a037baf..0d9a4fd 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;
OpenPOWER on IntegriCloud