netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ipv6: fix icmpv6_cleanup/icmpv6_init section mismatch
@ 2008-03-03 12:52 Alexey Dobriyan
  2008-03-03 14:54 ` [PATCH v2] " Alexey Dobriyan
  0 siblings, 1 reply; 3+ messages in thread
From: Alexey Dobriyan @ 2008-03-03 12:52 UTC (permalink / raw)
  To: davem; +Cc: netdev, den

icmpv6_cleanup() is called from inet6_init() which is __init, so the
former can't be __exit.

Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
---

 net/ipv6/icmp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/net/ipv6/icmp.c
+++ b/net/ipv6/icmp.c
@@ -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);


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-03 20:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-03 12:52 ipv6: fix icmpv6_cleanup/icmpv6_init section mismatch Alexey Dobriyan
2008-03-03 14:54 ` [PATCH v2] " Alexey Dobriyan
2008-03-03 20:03   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).