ipv6: fix inet6_init/icmpv6_cleanup sections mismatch
authorAlexey Dobriyan <adobriyan@sw.ru>
Mon, 3 Mar 2008 20:02:54 +0000 (12:02 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Mar 2008 20:02:54 +0000 (12:02 -0800)
Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/icmp.c

index 9f55a965c8847864dc33a7c8936257af31f23c11..8f44d49fcee2b474e3fff7b52c45833ed38a2f1e 100644 (file)
@@ -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 @@ fail:
        return err;
 }
 
-void __exit icmpv6_cleanup(void)
+void icmpv6_cleanup(void)
 {
        unregister_pernet_subsys(&icmpv6_sk_ops);
        inet6_del_protocol(&icmpv6_protocol, IPPROTO_ICMPV6);