aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/icmp.c
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2008-02-27 10:24:28 -0500
committerYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2008-03-04 01:18:23 -0500
commit5ee091050986796856cc6207d86b38b4ef6bd8f4 (patch)
treef624046cf7e77451cd0faa89a4001509796a3353 /net/ipv6/icmp.c
parent662397fd7aaa10afdbdc55a0bfdb7e9701454c27 (diff)
[IPV6] SYSCTL: complete initialization for sysctl table in subsystem code.
Move initialization bits for subsystem sysctl tables to appropriate functions. - route - icmp Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'net/ipv6/icmp.c')
-rw-r--r--net/ipv6/icmp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/ipv6/icmp.c b/net/ipv6/icmp.c
index 8f44d49fcee2..12c0b85d6c46 100644
--- a/net/ipv6/icmp.c
+++ b/net/ipv6/icmp.c
@@ -955,6 +955,10 @@ struct ctl_table *ipv6_icmp_sysctl_init(struct net *net)
955 table = kmemdup(ipv6_icmp_table_template, 955 table = kmemdup(ipv6_icmp_table_template,
956 sizeof(ipv6_icmp_table_template), 956 sizeof(ipv6_icmp_table_template),
957 GFP_KERNEL); 957 GFP_KERNEL);
958
959 if (table)
960 table[0].data = &net->ipv6.sysctl.icmpv6_time;
961
958 return table; 962 return table;
959} 963}
960#endif 964#endif