diff options
author | Eric Dumazet <edumazet@google.com> | 2017-06-07 13:34:37 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-08 10:53:28 -0400 |
commit | f930103421f6579719b8252285c94c1195f6e032 (patch) | |
tree | cb94c6b7a228ffa51760fbdd18c8d321402efe11 /net/ipv4/tcp_ipv4.c | |
parent | eed29f17f09ad7f400bc245f209acad6a8214fac (diff) |
tcp: Namespaceify sysctl_tcp_sack
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 191b2f78b19d..3c475a2a8432 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -2465,6 +2465,7 @@ static int __net_init tcp_sk_init(struct net *net) | |||
2465 | net->ipv4.tcp_death_row.hashinfo = &tcp_hashinfo; | 2465 | net->ipv4.tcp_death_row.hashinfo = &tcp_hashinfo; |
2466 | 2466 | ||
2467 | net->ipv4.sysctl_max_syn_backlog = max(128, cnt / 256); | 2467 | net->ipv4.sysctl_max_syn_backlog = max(128, cnt / 256); |
2468 | net->ipv4.sysctl_tcp_sack = 1; | ||
2468 | 2469 | ||
2469 | return 0; | 2470 | return 0; |
2470 | fail: | 2471 | fail: |