[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>
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user