tcp: Namespace-ify sysctl_tcp_tso_win_divisor
Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
4540c0cf98
commit
d06a990458
@@ -2494,6 +2494,11 @@ static int __net_init tcp_sk_init(struct net *net)
|
||||
net->ipv4.sysctl_tcp_adv_win_scale = 1;
|
||||
net->ipv4.sysctl_tcp_frto = 2;
|
||||
net->ipv4.sysctl_tcp_moderate_rcvbuf = 1;
|
||||
/* This limits the percentage of the congestion window which we
|
||||
* will allow a single TSO frame to consume. Building TSO frames
|
||||
* which are too large can cause TCP streams to be bursty.
|
||||
*/
|
||||
net->ipv4.sysctl_tcp_tso_win_divisor = 3;
|
||||
|
||||
net->ipv4.sysctl_tcp_fastopen = TFO_CLIENT_ENABLE;
|
||||
spin_lock_init(&net->ipv4.tcp_fastopen_ctx_lock);
|
||||
|
Reference in New Issue
Block a user