diff options
Diffstat (limited to 'net/ipv4/sysctl_net_ipv4.c')
-rw-r--r-- | net/ipv4/sysctl_net_ipv4.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/net/ipv4/sysctl_net_ipv4.c b/net/ipv4/sysctl_net_ipv4.c index 610e324348d1..540279f4c531 100644 --- a/net/ipv4/sysctl_net_ipv4.c +++ b/net/ipv4/sysctl_net_ipv4.c | |||
@@ -29,6 +29,7 @@ | |||
29 | static int zero; | 29 | static int zero; |
30 | static int one = 1; | 30 | static int one = 1; |
31 | static int four = 4; | 31 | static int four = 4; |
32 | static int gso_max_segs = GSO_MAX_SEGS; | ||
32 | static int tcp_retr1_max = 255; | 33 | static int tcp_retr1_max = 255; |
33 | static int ip_local_port_range_min[] = { 1, 1 }; | 34 | static int ip_local_port_range_min[] = { 1, 1 }; |
34 | static int ip_local_port_range_max[] = { 65535, 65535 }; | 35 | static int ip_local_port_range_max[] = { 65535, 65535 }; |
@@ -559,6 +560,13 @@ static struct ctl_table ipv4_table[] = { | |||
559 | .extra1 = &one, | 560 | .extra1 = &one, |
560 | }, | 561 | }, |
561 | { | 562 | { |
563 | .procname = "tcp_notsent_lowat", | ||
564 | .data = &sysctl_tcp_notsent_lowat, | ||
565 | .maxlen = sizeof(sysctl_tcp_notsent_lowat), | ||
566 | .mode = 0644, | ||
567 | .proc_handler = proc_dointvec, | ||
568 | }, | ||
569 | { | ||
562 | .procname = "tcp_rmem", | 570 | .procname = "tcp_rmem", |
563 | .data = &sysctl_tcp_rmem, | 571 | .data = &sysctl_tcp_rmem, |
564 | .maxlen = sizeof(sysctl_tcp_rmem), | 572 | .maxlen = sizeof(sysctl_tcp_rmem), |
@@ -754,6 +762,15 @@ static struct ctl_table ipv4_table[] = { | |||
754 | .extra2 = &four, | 762 | .extra2 = &four, |
755 | }, | 763 | }, |
756 | { | 764 | { |
765 | .procname = "tcp_min_tso_segs", | ||
766 | .data = &sysctl_tcp_min_tso_segs, | ||
767 | .maxlen = sizeof(int), | ||
768 | .mode = 0644, | ||
769 | .proc_handler = proc_dointvec_minmax, | ||
770 | .extra1 = &zero, | ||
771 | .extra2 = &gso_max_segs, | ||
772 | }, | ||
773 | { | ||
757 | .procname = "udp_mem", | 774 | .procname = "udp_mem", |
758 | .data = &sysctl_udp_mem, | 775 | .data = &sysctl_udp_mem, |
759 | .maxlen = sizeof(sysctl_udp_mem), | 776 | .maxlen = sizeof(sysctl_udp_mem), |