From: Alexey Dobriyan Date: Mon, 3 Mar 2008 20:02:54 +0000 (-0800) Subject: ipv6: fix inet6_init/icmpv6_cleanup sections mismatch X-Git-Tag: v2.6.26-rc1~1138^2~525 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=8ed7edce82ca0d8d3adba8c08cd42337af6c758c;p=linux-2.6-omap-h63xx.git ipv6: fix inet6_init/icmpv6_cleanup sections mismatch Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller --- diff --git a/net/ipv6/icmp.c b/net/ipv6/icmp.c index 9f55a965c88..8f44d49fcee 100644 --- a/net/ipv6/icmp.c +++ b/net/ipv6/icmp.c @@ -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);