mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
tcp: Enable ECN negotiation by default
This is now the default for all connections in iOS 11+, and we have fallback to detect and disable ECN for broken flows. Signed-off-by: Danny Lin <danny@kdrag0n.dev> Signed-off-by: azrim <mirzaspc@gmail.com>
This commit is contained in:
parent
bfabf6963a
commit
d94ce42d94
@ -2488,7 +2488,7 @@ static int __net_init tcp_sk_init(struct net *net)
|
||||
*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_base_mss = TCP_BASE_MSS;
|
||||
|
Loading…
x
Reference in New Issue
Block a user