]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipv6/icmp.c
[IPV6] SYSCTL: complete initialization for sysctl table in subsystem code.
[net-next-2.6.git] / net / ipv6 / icmp.c
index 8f44d49fcee2b474e3fff7b52c45833ed38a2f1e..12c0b85d6c46142b2d60ab97309623cc9a2de0f9 100644 (file)
@@ -955,6 +955,10 @@ struct ctl_table *ipv6_icmp_sysctl_init(struct net *net)
        table = kmemdup(ipv6_icmp_table_template,
                        sizeof(ipv6_icmp_table_template),
                        GFP_KERNEL);
+
+       if (table)
+               table[0].data = &net->ipv6.sysctl.icmpv6_time;
+
        return table;
 }
 #endif