diff options
Diffstat (limited to 'net/ipv4/sysctl_net_ipv4.c')
-rw-r--r-- | net/ipv4/sysctl_net_ipv4.c | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/net/ipv4/sysctl_net_ipv4.c b/net/ipv4/sysctl_net_ipv4.c index e0ee384a448f..d151539da8e6 100644 --- a/net/ipv4/sysctl_net_ipv4.c +++ b/net/ipv4/sysctl_net_ipv4.c | |||
@@ -604,20 +604,6 @@ static struct ctl_table ipv4_table[] = { | |||
604 | .proc_handler = proc_tcp_congestion_control, | 604 | .proc_handler = proc_tcp_congestion_control, |
605 | }, | 605 | }, |
606 | { | 606 | { |
607 | .procname = "tcp_mtu_probing", | ||
608 | .data = &sysctl_tcp_mtu_probing, | ||
609 | .maxlen = sizeof(int), | ||
610 | .mode = 0644, | ||
611 | .proc_handler = proc_dointvec, | ||
612 | }, | ||
613 | { | ||
614 | .procname = "tcp_base_mss", | ||
615 | .data = &sysctl_tcp_base_mss, | ||
616 | .maxlen = sizeof(int), | ||
617 | .mode = 0644, | ||
618 | .proc_handler = proc_dointvec, | ||
619 | }, | ||
620 | { | ||
621 | .procname = "tcp_workaround_signed_windows", | 607 | .procname = "tcp_workaround_signed_windows", |
622 | .data = &sysctl_tcp_workaround_signed_windows, | 608 | .data = &sysctl_tcp_workaround_signed_windows, |
623 | .maxlen = sizeof(int), | 609 | .maxlen = sizeof(int), |
@@ -729,6 +715,13 @@ static struct ctl_table ipv4_table[] = { | |||
729 | .extra2 = &one, | 715 | .extra2 = &one, |
730 | }, | 716 | }, |
731 | { | 717 | { |
718 | .procname = "tcp_invalid_ratelimit", | ||
719 | .data = &sysctl_tcp_invalid_ratelimit, | ||
720 | .maxlen = sizeof(int), | ||
721 | .mode = 0644, | ||
722 | .proc_handler = proc_dointvec_ms_jiffies, | ||
723 | }, | ||
724 | { | ||
732 | .procname = "icmp_msgs_per_sec", | 725 | .procname = "icmp_msgs_per_sec", |
733 | .data = &sysctl_icmp_msgs_per_sec, | 726 | .data = &sysctl_icmp_msgs_per_sec, |
734 | .maxlen = sizeof(int), | 727 | .maxlen = sizeof(int), |
@@ -876,6 +869,20 @@ static struct ctl_table ipv4_net_table[] = { | |||
876 | .mode = 0644, | 869 | .mode = 0644, |
877 | .proc_handler = proc_dointvec, | 870 | .proc_handler = proc_dointvec, |
878 | }, | 871 | }, |
872 | { | ||
873 | .procname = "tcp_mtu_probing", | ||
874 | .data = &init_net.ipv4.sysctl_tcp_mtu_probing, | ||
875 | .maxlen = sizeof(int), | ||
876 | .mode = 0644, | ||
877 | .proc_handler = proc_dointvec, | ||
878 | }, | ||
879 | { | ||
880 | .procname = "tcp_base_mss", | ||
881 | .data = &init_net.ipv4.sysctl_tcp_base_mss, | ||
882 | .maxlen = sizeof(int), | ||
883 | .mode = 0644, | ||
884 | .proc_handler = proc_dointvec, | ||
885 | }, | ||
879 | { } | 886 | { } |
880 | }; | 887 | }; |
881 | 888 | ||