tcp: Enable ECN negotiation by default
This is now the default for all connections in iOS 11+, and we have RFC 3168 ECN fallback to detect and disable ECN for broken flows. Signed-off-by: Danny Lin <danny@kdrag0n.dev>
This commit is contained in:
parent
67763ebe89
commit
84b47ecf71
1 changed files with 1 additions and 1 deletions
|
@ -2865,7 +2865,7 @@ static int __net_init tcp_sk_init(struct net *net)
|
||||||
*per_cpu_ptr(net->ipv4.tcp_sk, cpu) = sk;
|
*per_cpu_ptr(net->ipv4.tcp_sk, cpu) = sk;
|
||||||
}
|
}
|
||||||
|
|
||||||
net->ipv4.sysctl_tcp_ecn = 2;
|
net->ipv4.sysctl_tcp_ecn = 1;
|
||||||
net->ipv4.sysctl_tcp_ecn_fallback = 1;
|
net->ipv4.sysctl_tcp_ecn_fallback = 1;
|
||||||
|
|
||||||
net->ipv4.sysctl_tcp_base_mss = TCP_BASE_MSS;
|
net->ipv4.sysctl_tcp_base_mss = TCP_BASE_MSS;
|
||||||
|
|
Loading…
Add table
Reference in a new issue