diff options
author | Andi Kleen <ak@suse.de> | 2005-06-13 21:24:52 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-06-13 21:24:52 (GMT) |
commit | e7626486c3c4ce456b11a7944edf164ef76fc599 (patch) | |
tree | 78e374b63ebc2c8ca354203d2bbe866d2d7a415f /net/ipv4/tcp.c | |
parent | 03722adce90a248d0bea77d390decbd05991e2d2 (diff) | |
download | linux-e7626486c3c4ce456b11a7944edf164ef76fc599.tar.xz |
[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/tcp.c')
-rw-r--r-- | net/ipv4/tcp.c | 2 |
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; |