ipv4: Namespaceify tcp reordering sysctl knob
Signed-off-by: Nikolay Borisov <kernel@kyup.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
12ed8244ed
commit
1043e25ff9
@@ -961,9 +961,11 @@ static inline void tcp_enable_fack(struct tcp_sock *tp)
|
||||
*/
|
||||
static inline void tcp_enable_early_retrans(struct tcp_sock *tp)
|
||||
{
|
||||
struct net *net = sock_net((struct sock *)tp);
|
||||
|
||||
tp->do_early_retrans = sysctl_tcp_early_retrans &&
|
||||
sysctl_tcp_early_retrans < 4 && !sysctl_tcp_thin_dupack &&
|
||||
sysctl_tcp_reordering == 3;
|
||||
net->ipv4.sysctl_tcp_reordering == 3;
|
||||
}
|
||||
|
||||
static inline void tcp_disable_early_retrans(struct tcp_sock *tp)
|
||||
|
||||
Reference in New Issue
Block a user