diff options
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r-- | net/ipv4/tcp.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index e6eace1c2bdb..1aca02c9911e 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c | |||
@@ -3590,8 +3590,7 @@ void __init tcp_init(void) | |||
3590 | alloc_large_system_hash("TCP established", | 3590 | alloc_large_system_hash("TCP established", |
3591 | sizeof(struct inet_ehash_bucket), | 3591 | sizeof(struct inet_ehash_bucket), |
3592 | thash_entries, | 3592 | thash_entries, |
3593 | (totalram_pages >= 128 * 1024) ? | 3593 | 17, /* one slot per 128 KB of memory */ |
3594 | 13 : 15, | ||
3595 | 0, | 3594 | 0, |
3596 | NULL, | 3595 | NULL, |
3597 | &tcp_hashinfo.ehash_mask, | 3596 | &tcp_hashinfo.ehash_mask, |
@@ -3607,8 +3606,7 @@ void __init tcp_init(void) | |||
3607 | alloc_large_system_hash("TCP bind", | 3606 | alloc_large_system_hash("TCP bind", |
3608 | sizeof(struct inet_bind_hashbucket), | 3607 | sizeof(struct inet_bind_hashbucket), |
3609 | tcp_hashinfo.ehash_mask + 1, | 3608 | tcp_hashinfo.ehash_mask + 1, |
3610 | (totalram_pages >= 128 * 1024) ? | 3609 | 17, /* one slot per 128 KB of memory */ |
3611 | 13 : 15, | ||
3612 | 0, | 3610 | 0, |
3613 | &tcp_hashinfo.bhash_size, | 3611 | &tcp_hashinfo.bhash_size, |
3614 | NULL, | 3612 | NULL, |