diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c index 050e14b7f7014a2f61854af31defd1483a7eb234..01edac888510cb7f4efb0c1ff994c4978a11bfaf 100644 --- a/net/ipv6/af_inet6.c +++ b/net/ipv6/af_inet6.c @@ -834,7 +834,7 @@ static void __net_exit ipv6_cleanup_mibs(struct net *net) snmp_mib_free((void **)net->mib.icmpv6msg_statistics); } -static int inet6_net_init(struct net *net) +static int __net_init inet6_net_init(struct net *net) { int err = 0;