diff options
author | Alexey Dobriyan <adobriyan@sw.ru> | 2008-03-03 15:02:54 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-03 15:02:54 -0500 |
commit | 8ed7edce82ca0d8d3adba8c08cd42337af6c758c (patch) | |
tree | 35eaab7deb4a2060751d73972f8455c2212e62b6 /net | |
parent | 7cd04fa7e35100877592f6be4efdccac0fed62b2 (diff) |
ipv6: fix inet6_init/icmpv6_cleanup sections mismatch
Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv6/icmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/icmp.c b/net/ipv6/icmp.c index 9f55a965c884..8f44d49fcee2 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) | |||
844 | kfree(net->ipv6.icmp_sk); | 844 | kfree(net->ipv6.icmp_sk); |
845 | } | 845 | } |
846 | 846 | ||
847 | static struct pernet_operations __net_initdata icmpv6_sk_ops = { | 847 | static struct pernet_operations icmpv6_sk_ops = { |
848 | .init = icmpv6_sk_init, | 848 | .init = icmpv6_sk_init, |
849 | .exit = icmpv6_sk_exit, | 849 | .exit = icmpv6_sk_exit, |
850 | }; | 850 | }; |
@@ -868,7 +868,7 @@ fail: | |||
868 | return err; | 868 | return err; |
869 | } | 869 | } |
870 | 870 | ||
871 | void __exit icmpv6_cleanup(void) | 871 | void icmpv6_cleanup(void) |
872 | { | 872 | { |
873 | unregister_pernet_subsys(&icmpv6_sk_ops); | 873 | unregister_pernet_subsys(&icmpv6_sk_ops); |
874 | inet6_del_protocol(&icmpv6_protocol, IPPROTO_ICMPV6); | 874 | inet6_del_protocol(&icmpv6_protocol, IPPROTO_ICMPV6); |