aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/reassembly.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/reassembly.c')
-rw-r--r--net/ipv6/reassembly.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv6/reassembly.c b/net/ipv6/reassembly.c
index 0300dcbf1a75..91761365b181 100644
--- a/net/ipv6/reassembly.c
+++ b/net/ipv6/reassembly.c
@@ -650,7 +650,7 @@ static struct ctl_table ip6_frags_ctl_table[] = {
650 { 650 {
651 .ctl_name = NET_IPV6_IP6FRAG_TIME, 651 .ctl_name = NET_IPV6_IP6FRAG_TIME,
652 .procname = "ip6frag_time", 652 .procname = "ip6frag_time",
653 .data = &init_net.ipv6.sysctl.frags.timeout, 653 .data = &init_net.ipv6.frags.timeout,
654 .maxlen = sizeof(int), 654 .maxlen = sizeof(int),
655 .mode = 0644, 655 .mode = 0644,
656 .proc_handler = &proc_dointvec_jiffies, 656 .proc_handler = &proc_dointvec_jiffies,
@@ -681,7 +681,7 @@ static int ip6_frags_sysctl_register(struct net *net)
681 681
682 table[0].mode &= ~0222; 682 table[0].mode &= ~0222;
683 table[1].mode &= ~0222; 683 table[1].mode &= ~0222;
684 table[2].mode &= ~0222; 684 table[2].data = &net->ipv6.frags.timeout;
685 table[3].mode &= ~0222; 685 table[3].mode &= ~0222;
686 } 686 }
687 687
@@ -724,7 +724,7 @@ static int ipv6_frags_init_net(struct net *net)
724 724
725 net->ipv6.sysctl.frags.high_thresh = 256 * 1024; 725 net->ipv6.sysctl.frags.high_thresh = 256 * 1024;
726 net->ipv6.sysctl.frags.low_thresh = 192 * 1024; 726 net->ipv6.sysctl.frags.low_thresh = 192 * 1024;
727 net->ipv6.sysctl.frags.timeout = IPV6_FRAG_TIMEOUT; 727 net->ipv6.frags.timeout = IPV6_FRAG_TIMEOUT;
728 net->ipv6.sysctl.frags.secret_interval = 10 * 60 * HZ; 728 net->ipv6.sysctl.frags.secret_interval = 10 * 60 * HZ;
729 729
730 inet_frags_init_net(&net->ipv6.frags); 730 inet_frags_init_net(&net->ipv6.frags);