|
@@ -79,7 +79,6 @@
|
|
|
#include <linux/unaligned/access_ok.h>
|
|
|
#include <linux/static_key.h>
|
|
|
|
|
|
-int sysctl_tcp_max_reordering __read_mostly = 300;
|
|
|
int sysctl_tcp_dsack __read_mostly = 1;
|
|
|
int sysctl_tcp_app_win __read_mostly = 31;
|
|
|
int sysctl_tcp_adv_win_scale __read_mostly = 1;
|
|
@@ -889,7 +888,7 @@ static void tcp_update_reordering(struct sock *sk, const int metric,
|
|
|
return;
|
|
|
|
|
|
if (metric > tp->reordering) {
|
|
|
- tp->reordering = min(sysctl_tcp_max_reordering, metric);
|
|
|
+ tp->reordering = min(sock_net(sk)->ipv4.sysctl_tcp_max_reordering, metric);
|
|
|
|
|
|
#if FASTRETRANS_DEBUG > 1
|
|
|
pr_debug("Disorder%d %d %u f%u s%u rr%d\n",
|