提交 8ed7edce 编写于 作者: A Alexey Dobriyan 提交者: David S. Miller

ipv6: fix inet6_init/icmpv6_cleanup sections mismatch

Signed-off-by: NAlexey Dobriyan <adobriyan@sw.ru>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 7cd04fa7
......@@ -844,7 +844,7 @@ static void __net_exit icmpv6_sk_exit(struct net *net)
kfree(net->ipv6.icmp_sk);
}
static struct pernet_operations __net_initdata icmpv6_sk_ops = {
static struct pernet_operations icmpv6_sk_ops = {
.init = icmpv6_sk_init,
.exit = icmpv6_sk_exit,
};
......@@ -868,7 +868,7 @@ int __init icmpv6_init(void)
return err;
}
void __exit icmpv6_cleanup(void)
void icmpv6_cleanup(void)
{
unregister_pernet_subsys(&icmpv6_sk_ops);
inet6_del_protocol(&icmpv6_protocol, IPPROTO_ICMPV6);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册