diff options
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 44c09eddbb78..09547ef9c4c6 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -2549,7 +2549,7 @@ static int __net_init tcp_sk_init(struct net *net) | |||
2549 | net->ipv4.sysctl_tcp_tw_reuse = 2; | 2549 | net->ipv4.sysctl_tcp_tw_reuse = 2; |
2550 | 2550 | ||
2551 | cnt = tcp_hashinfo.ehash_mask + 1; | 2551 | cnt = tcp_hashinfo.ehash_mask + 1; |
2552 | net->ipv4.tcp_death_row.sysctl_max_tw_buckets = (cnt + 1) / 2; | 2552 | net->ipv4.tcp_death_row.sysctl_max_tw_buckets = cnt / 2; |
2553 | net->ipv4.tcp_death_row.hashinfo = &tcp_hashinfo; | 2553 | net->ipv4.tcp_death_row.hashinfo = &tcp_hashinfo; |
2554 | 2554 | ||
2555 | net->ipv4.sysctl_max_syn_backlog = max(128, cnt / 256); | 2555 | net->ipv4.sysctl_max_syn_backlog = max(128, cnt / 256); |