diff options
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r-- | net/ipv4/tcp_input.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index c5b94460793f..c118657f06ee 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c | |||
@@ -79,7 +79,6 @@ | |||
79 | #include <linux/unaligned/access_ok.h> | 79 | #include <linux/unaligned/access_ok.h> |
80 | #include <linux/static_key.h> | 80 | #include <linux/static_key.h> |
81 | 81 | ||
82 | int sysctl_tcp_max_reordering __read_mostly = 300; | ||
83 | int sysctl_tcp_dsack __read_mostly = 1; | 82 | int sysctl_tcp_dsack __read_mostly = 1; |
84 | int sysctl_tcp_app_win __read_mostly = 31; | 83 | int sysctl_tcp_app_win __read_mostly = 31; |
85 | int sysctl_tcp_adv_win_scale __read_mostly = 1; | 84 | int sysctl_tcp_adv_win_scale __read_mostly = 1; |
@@ -889,7 +888,7 @@ static void tcp_update_reordering(struct sock *sk, const int metric, | |||
889 | return; | 888 | return; |
890 | 889 | ||
891 | if (metric > tp->reordering) { | 890 | if (metric > tp->reordering) { |
892 | tp->reordering = min(sysctl_tcp_max_reordering, metric); | 891 | tp->reordering = min(sock_net(sk)->ipv4.sysctl_tcp_max_reordering, metric); |
893 | 892 | ||
894 | #if FASTRETRANS_DEBUG > 1 | 893 | #if FASTRETRANS_DEBUG > 1 |
895 | pr_debug("Disorder%d %d %u f%u s%u rr%d\n", | 894 | pr_debug("Disorder%d %d %u f%u s%u rr%d\n", |