diff options
author | Eric Dumazet <edumazet@google.com> | 2017-10-27 17:47:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-28 13:24:39 +0300 |
commit | 4170ba6b589ced82da56c7e4f71cc84b2be036d6 (patch) | |
tree | 3dba2c730def3613ab7b5b9572c8a501ab0410af /net/ipv4/tcp_ipv4.c | |
parent | 790f00e19f65673c3c169dfc137c09a9236847d5 (diff) | |
download | linux-4170ba6b589ced82da56c7e4f71cc84b2be036d6.tar.xz |
tcp: Namespace-ify sysctl_tcp_invalid_ratelimit
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 351e3497c8f3..6617aae18ba2 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c @@ -2506,6 +2506,7 @@ static int __net_init tcp_sk_init(struct net *net) net->ipv4.sysctl_tcp_min_tso_segs = 2; net->ipv4.sysctl_tcp_min_rtt_wlen = 300; net->ipv4.sysctl_tcp_autocorking = 1; + net->ipv4.sysctl_tcp_invalid_ratelimit = HZ/2; net->ipv4.sysctl_tcp_fastopen = TFO_CLIENT_ENABLE; spin_lock_init(&net->ipv4.tcp_fastopen_ctx_lock); |