diff options
author | Andrew Morton <akpm@osdl.org> | 2006-03-28 19:37:06 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-28 20:02:48 -0500 |
commit | 65b4b4e81a5094d52cbe372b887b1779abe53f9b (patch) | |
tree | ef8369e6a8e5278f8f4101132ba85869e5a4ce1d /net/ipv6 | |
parent | c3e5d877aadc073b09c4901f8c1a768de79b0a5d (diff) |
[NETFILTER]: Rename init functions.
Every netfilter module uses `init' for its module_init() function and
`fini' or `cleanup' for its module_exit() function.
Problem is, this creates uninformative initcall_debug output and makes
ctags rather useless.
So go through and rename them all to $(filename)_init and
$(filename)_fini.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/netfilter/ip6_queue.c | 8 | ||||
-rw-r--r-- | net/ipv6/netfilter/ip6_tables.c | 8 | ||||
-rw-r--r-- | net/ipv6/netfilter/ip6t_HL.c | 8 | ||||
-rw-r--r-- | net/ipv6/netfilter/ip6t_LOG.c | 8 | ||||
-rw-r--r-- | net/ipv6/netfilter/ip6t_REJECT.c | 8 | ||||
-rw-r--r-- | net/ipv6/netfilter/ip6t_ah.c | 8 | ||||
-rw-r--r-- | net/ipv6/netfilter/ip6t_dst.c | 8 | ||||
-rw-r--r-- | net/ipv6/netfilter/ip6t_esp.c | 8 | ||||
-rw-r--r-- | net/ipv6/netfilter/ip6t_eui64.c | 8 | ||||
-rw-r--r-- | net/ipv6/netfilter/ip6t_frag.c | 8 | ||||
-rw-r--r-- | net/ipv6/netfilter/ip6t_hbh.c | 8 | ||||
-rw-r--r-- | net/ipv6/netfilter/ip6t_hl.c | 8 | ||||
-rw-r--r-- | net/ipv6/netfilter/ip6t_multiport.c | 8 | ||||
-rw-r--r-- | net/ipv6/netfilter/ip6t_owner.c | 8 | ||||
-rw-r--r-- | net/ipv6/netfilter/ip6t_rt.c | 8 | ||||
-rw-r--r-- | net/ipv6/netfilter/ip6table_filter.c | 8 | ||||
-rw-r--r-- | net/ipv6/netfilter/ip6table_mangle.c | 8 | ||||
-rw-r--r-- | net/ipv6/netfilter/ip6table_raw.c | 8 | ||||
-rw-r--r-- | net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c | 8 |
19 files changed, 76 insertions, 76 deletions
diff --git a/net/ipv6/netfilter/ip6_queue.c b/net/ipv6/netfilter/ip6_queue.c index 344eab3b5da8..e81c6a9dab81 100644 --- a/net/ipv6/netfilter/ip6_queue.c +++ b/net/ipv6/netfilter/ip6_queue.c | |||
@@ -713,13 +713,13 @@ cleanup_netlink_notifier: | |||
713 | return status; | 713 | return status; |
714 | } | 714 | } |
715 | 715 | ||
716 | static int __init init(void) | 716 | static int __init ip6_queue_init(void) |
717 | { | 717 | { |
718 | 718 | ||
719 | return init_or_cleanup(1); | 719 | return init_or_cleanup(1); |
720 | } | 720 | } |
721 | 721 | ||
722 | static void __exit fini(void) | 722 | static void __exit ip6_queue_fini(void) |
723 | { | 723 | { |
724 | init_or_cleanup(0); | 724 | init_or_cleanup(0); |
725 | } | 725 | } |
@@ -727,5 +727,5 @@ static void __exit fini(void) | |||
727 | MODULE_DESCRIPTION("IPv6 packet queue handler"); | 727 | MODULE_DESCRIPTION("IPv6 packet queue handler"); |
728 | MODULE_LICENSE("GPL"); | 728 | MODULE_LICENSE("GPL"); |
729 | 729 | ||
730 | module_init(init); | 730 | module_init(ip6_queue_init); |
731 | module_exit(fini); | 731 | module_exit(ip6_queue_fini); |
diff --git a/net/ipv6/netfilter/ip6_tables.c b/net/ipv6/netfilter/ip6_tables.c index db3c9ae98e95..3ecf2db841f8 100644 --- a/net/ipv6/netfilter/ip6_tables.c +++ b/net/ipv6/netfilter/ip6_tables.c | |||
@@ -1406,7 +1406,7 @@ static struct ip6t_match icmp6_matchstruct = { | |||
1406 | .family = AF_INET6, | 1406 | .family = AF_INET6, |
1407 | }; | 1407 | }; |
1408 | 1408 | ||
1409 | static int __init init(void) | 1409 | static int __init ip6_tables_init(void) |
1410 | { | 1410 | { |
1411 | int ret; | 1411 | int ret; |
1412 | 1412 | ||
@@ -1429,7 +1429,7 @@ static int __init init(void) | |||
1429 | return 0; | 1429 | return 0; |
1430 | } | 1430 | } |
1431 | 1431 | ||
1432 | static void __exit fini(void) | 1432 | static void __exit ip6_tables_fini(void) |
1433 | { | 1433 | { |
1434 | nf_unregister_sockopt(&ip6t_sockopts); | 1434 | nf_unregister_sockopt(&ip6t_sockopts); |
1435 | xt_unregister_match(&icmp6_matchstruct); | 1435 | xt_unregister_match(&icmp6_matchstruct); |
@@ -1517,5 +1517,5 @@ EXPORT_SYMBOL(ip6t_do_table); | |||
1517 | EXPORT_SYMBOL(ip6t_ext_hdr); | 1517 | EXPORT_SYMBOL(ip6t_ext_hdr); |
1518 | EXPORT_SYMBOL(ipv6_find_hdr); | 1518 | EXPORT_SYMBOL(ipv6_find_hdr); |
1519 | 1519 | ||
1520 | module_init(init); | 1520 | module_init(ip6_tables_init); |
1521 | module_exit(fini); | 1521 | module_exit(ip6_tables_fini); |
diff --git a/net/ipv6/netfilter/ip6t_HL.c b/net/ipv6/netfilter/ip6t_HL.c index da14c6d86bcc..b8eff8ee69b1 100644 --- a/net/ipv6/netfilter/ip6t_HL.c +++ b/net/ipv6/netfilter/ip6t_HL.c | |||
@@ -93,15 +93,15 @@ static struct ip6t_target ip6t_HL = { | |||
93 | .me = THIS_MODULE | 93 | .me = THIS_MODULE |
94 | }; | 94 | }; |
95 | 95 | ||
96 | static int __init init(void) | 96 | static int __init ip6t_hl_init(void) |
97 | { | 97 | { |
98 | return ip6t_register_target(&ip6t_HL); | 98 | return ip6t_register_target(&ip6t_HL); |
99 | } | 99 | } |
100 | 100 | ||
101 | static void __exit fini(void) | 101 | static void __exit ip6t_hl_fini(void) |
102 | { | 102 | { |
103 | ip6t_unregister_target(&ip6t_HL); | 103 | ip6t_unregister_target(&ip6t_HL); |
104 | } | 104 | } |
105 | 105 | ||
106 | module_init(init); | 106 | module_init(ip6t_hl_init); |
107 | module_exit(fini); | 107 | module_exit(ip6t_hl_fini); |
diff --git a/net/ipv6/netfilter/ip6t_LOG.c b/net/ipv6/netfilter/ip6t_LOG.c index 07c6bcbe4c5f..a96c0de14b00 100644 --- a/net/ipv6/netfilter/ip6t_LOG.c +++ b/net/ipv6/netfilter/ip6t_LOG.c | |||
@@ -483,7 +483,7 @@ static struct nf_logger ip6t_logger = { | |||
483 | .me = THIS_MODULE, | 483 | .me = THIS_MODULE, |
484 | }; | 484 | }; |
485 | 485 | ||
486 | static int __init init(void) | 486 | static int __init ip6t_log_init(void) |
487 | { | 487 | { |
488 | if (ip6t_register_target(&ip6t_log_reg)) | 488 | if (ip6t_register_target(&ip6t_log_reg)) |
489 | return -EINVAL; | 489 | return -EINVAL; |
@@ -497,11 +497,11 @@ static int __init init(void) | |||
497 | return 0; | 497 | return 0; |
498 | } | 498 | } |
499 | 499 | ||
500 | static void __exit fini(void) | 500 | static void __exit ip6t_log_fini(void) |
501 | { | 501 | { |
502 | nf_log_unregister_logger(&ip6t_logger); | 502 | nf_log_unregister_logger(&ip6t_logger); |
503 | ip6t_unregister_target(&ip6t_log_reg); | 503 | ip6t_unregister_target(&ip6t_log_reg); |
504 | } | 504 | } |
505 | 505 | ||
506 | module_init(init); | 506 | module_init(ip6t_log_init); |
507 | module_exit(fini); | 507 | module_exit(ip6t_log_fini); |
diff --git a/net/ipv6/netfilter/ip6t_REJECT.c b/net/ipv6/netfilter/ip6t_REJECT.c index ddfa38575fe2..de1175c27f6d 100644 --- a/net/ipv6/netfilter/ip6t_REJECT.c +++ b/net/ipv6/netfilter/ip6t_REJECT.c | |||
@@ -255,17 +255,17 @@ static struct ip6t_target ip6t_reject_reg = { | |||
255 | .me = THIS_MODULE | 255 | .me = THIS_MODULE |
256 | }; | 256 | }; |
257 | 257 | ||
258 | static int __init init(void) | 258 | static int __init ip6t_reject_init(void) |
259 | { | 259 | { |
260 | if (ip6t_register_target(&ip6t_reject_reg)) | 260 | if (ip6t_register_target(&ip6t_reject_reg)) |
261 | return -EINVAL; | 261 | return -EINVAL; |
262 | return 0; | 262 | return 0; |
263 | } | 263 | } |
264 | 264 | ||
265 | static void __exit fini(void) | 265 | static void __exit ip6t_reject_fini(void) |
266 | { | 266 | { |
267 | ip6t_unregister_target(&ip6t_reject_reg); | 267 | ip6t_unregister_target(&ip6t_reject_reg); |
268 | } | 268 | } |
269 | 269 | ||
270 | module_init(init); | 270 | module_init(ip6t_reject_init); |
271 | module_exit(fini); | 271 | module_exit(ip6t_reject_fini); |
diff --git a/net/ipv6/netfilter/ip6t_ah.c b/net/ipv6/netfilter/ip6t_ah.c index 178f6fb1e53d..2f7bb20c758b 100644 --- a/net/ipv6/netfilter/ip6t_ah.c +++ b/net/ipv6/netfilter/ip6t_ah.c | |||
@@ -122,15 +122,15 @@ static struct ip6t_match ah_match = { | |||
122 | .me = THIS_MODULE, | 122 | .me = THIS_MODULE, |
123 | }; | 123 | }; |
124 | 124 | ||
125 | static int __init init(void) | 125 | static int __init ip6t_ah_init(void) |
126 | { | 126 | { |
127 | return ip6t_register_match(&ah_match); | 127 | return ip6t_register_match(&ah_match); |
128 | } | 128 | } |
129 | 129 | ||
130 | static void __exit cleanup(void) | 130 | static void __exit ip6t_ah_fini(void) |
131 | { | 131 | { |
132 | ip6t_unregister_match(&ah_match); | 132 | ip6t_unregister_match(&ah_match); |
133 | } | 133 | } |
134 | 134 | ||
135 | module_init(init); | 135 | module_init(ip6t_ah_init); |
136 | module_exit(cleanup); | 136 | module_exit(ip6t_ah_fini); |
diff --git a/net/ipv6/netfilter/ip6t_dst.c b/net/ipv6/netfilter/ip6t_dst.c index e97a70226987..9422413d0571 100644 --- a/net/ipv6/netfilter/ip6t_dst.c +++ b/net/ipv6/netfilter/ip6t_dst.c | |||
@@ -206,15 +206,15 @@ static struct ip6t_match opts_match = { | |||
206 | .me = THIS_MODULE, | 206 | .me = THIS_MODULE, |
207 | }; | 207 | }; |
208 | 208 | ||
209 | static int __init init(void) | 209 | static int __init ip6t_dst_init(void) |
210 | { | 210 | { |
211 | return ip6t_register_match(&opts_match); | 211 | return ip6t_register_match(&opts_match); |
212 | } | 212 | } |
213 | 213 | ||
214 | static void __exit cleanup(void) | 214 | static void __exit ip6t_dst_fini(void) |
215 | { | 215 | { |
216 | ip6t_unregister_match(&opts_match); | 216 | ip6t_unregister_match(&opts_match); |
217 | } | 217 | } |
218 | 218 | ||
219 | module_init(init); | 219 | module_init(ip6t_dst_init); |
220 | module_exit(cleanup); | 220 | module_exit(ip6t_dst_fini); |
diff --git a/net/ipv6/netfilter/ip6t_esp.c b/net/ipv6/netfilter/ip6t_esp.c index 540b8bfd5055..36bedad2c6f7 100644 --- a/net/ipv6/netfilter/ip6t_esp.c +++ b/net/ipv6/netfilter/ip6t_esp.c | |||
@@ -101,15 +101,15 @@ static struct ip6t_match esp_match = { | |||
101 | .me = THIS_MODULE, | 101 | .me = THIS_MODULE, |
102 | }; | 102 | }; |
103 | 103 | ||
104 | static int __init init(void) | 104 | static int __init ip6t_esp_init(void) |
105 | { | 105 | { |
106 | return ip6t_register_match(&esp_match); | 106 | return ip6t_register_match(&esp_match); |
107 | } | 107 | } |
108 | 108 | ||
109 | static void __exit cleanup(void) | 109 | static void __exit ip6t_esp_fini(void) |
110 | { | 110 | { |
111 | ip6t_unregister_match(&esp_match); | 111 | ip6t_unregister_match(&esp_match); |
112 | } | 112 | } |
113 | 113 | ||
114 | module_init(init); | 114 | module_init(ip6t_esp_init); |
115 | module_exit(cleanup); | 115 | module_exit(ip6t_esp_fini); |
diff --git a/net/ipv6/netfilter/ip6t_eui64.c b/net/ipv6/netfilter/ip6t_eui64.c index d4b0bad52830..94dbdb8b458d 100644 --- a/net/ipv6/netfilter/ip6t_eui64.c +++ b/net/ipv6/netfilter/ip6t_eui64.c | |||
@@ -70,15 +70,15 @@ static struct ip6t_match eui64_match = { | |||
70 | .me = THIS_MODULE, | 70 | .me = THIS_MODULE, |
71 | }; | 71 | }; |
72 | 72 | ||
73 | static int __init init(void) | 73 | static int __init ip6t_eui64_init(void) |
74 | { | 74 | { |
75 | return ip6t_register_match(&eui64_match); | 75 | return ip6t_register_match(&eui64_match); |
76 | } | 76 | } |
77 | 77 | ||
78 | static void __exit fini(void) | 78 | static void __exit ip6t_eui64_fini(void) |
79 | { | 79 | { |
80 | ip6t_unregister_match(&eui64_match); | 80 | ip6t_unregister_match(&eui64_match); |
81 | } | 81 | } |
82 | 82 | ||
83 | module_init(init); | 83 | module_init(ip6t_eui64_init); |
84 | module_exit(fini); | 84 | module_exit(ip6t_eui64_fini); |
diff --git a/net/ipv6/netfilter/ip6t_frag.c b/net/ipv6/netfilter/ip6t_frag.c index 4c41e14823d5..06768c84bd31 100644 --- a/net/ipv6/netfilter/ip6t_frag.c +++ b/net/ipv6/netfilter/ip6t_frag.c | |||
@@ -139,15 +139,15 @@ static struct ip6t_match frag_match = { | |||
139 | .me = THIS_MODULE, | 139 | .me = THIS_MODULE, |
140 | }; | 140 | }; |
141 | 141 | ||
142 | static int __init init(void) | 142 | static int __init ip6t_frag_init(void) |
143 | { | 143 | { |
144 | return ip6t_register_match(&frag_match); | 144 | return ip6t_register_match(&frag_match); |
145 | } | 145 | } |
146 | 146 | ||
147 | static void __exit cleanup(void) | 147 | static void __exit ip6t_frag_fini(void) |
148 | { | 148 | { |
149 | ip6t_unregister_match(&frag_match); | 149 | ip6t_unregister_match(&frag_match); |
150 | } | 150 | } |
151 | 151 | ||
152 | module_init(init); | 152 | module_init(ip6t_frag_init); |
153 | module_exit(cleanup); | 153 | module_exit(ip6t_frag_fini); |
diff --git a/net/ipv6/netfilter/ip6t_hbh.c b/net/ipv6/netfilter/ip6t_hbh.c index b4a1fdfe6abc..374f1be85c0d 100644 --- a/net/ipv6/netfilter/ip6t_hbh.c +++ b/net/ipv6/netfilter/ip6t_hbh.c | |||
@@ -206,15 +206,15 @@ static struct ip6t_match opts_match = { | |||
206 | .me = THIS_MODULE, | 206 | .me = THIS_MODULE, |
207 | }; | 207 | }; |
208 | 208 | ||
209 | static int __init init(void) | 209 | static int __init ip6t_hbh_init(void) |
210 | { | 210 | { |
211 | return ip6t_register_match(&opts_match); | 211 | return ip6t_register_match(&opts_match); |
212 | } | 212 | } |
213 | 213 | ||
214 | static void __exit cleanup(void) | 214 | static void __exit ip6t_hbh_fini(void) |
215 | { | 215 | { |
216 | ip6t_unregister_match(&opts_match); | 216 | ip6t_unregister_match(&opts_match); |
217 | } | 217 | } |
218 | 218 | ||
219 | module_init(init); | 219 | module_init(ip6t_hbh_init); |
220 | module_exit(cleanup); | 220 | module_exit(ip6t_hbh_fini); |
diff --git a/net/ipv6/netfilter/ip6t_hl.c b/net/ipv6/netfilter/ip6t_hl.c index 374055733b26..44a729e17c48 100644 --- a/net/ipv6/netfilter/ip6t_hl.c +++ b/net/ipv6/netfilter/ip6t_hl.c | |||
@@ -55,16 +55,16 @@ static struct ip6t_match hl_match = { | |||
55 | .me = THIS_MODULE, | 55 | .me = THIS_MODULE, |
56 | }; | 56 | }; |
57 | 57 | ||
58 | static int __init init(void) | 58 | static int __init ip6t_hl_init(void) |
59 | { | 59 | { |
60 | return ip6t_register_match(&hl_match); | 60 | return ip6t_register_match(&hl_match); |
61 | } | 61 | } |
62 | 62 | ||
63 | static void __exit fini(void) | 63 | static void __exit ip6t_hl_fini(void) |
64 | { | 64 | { |
65 | ip6t_unregister_match(&hl_match); | 65 | ip6t_unregister_match(&hl_match); |
66 | 66 | ||
67 | } | 67 | } |
68 | 68 | ||
69 | module_init(init); | 69 | module_init(ip6t_hl_init); |
70 | module_exit(fini); | 70 | module_exit(ip6t_hl_fini); |
diff --git a/net/ipv6/netfilter/ip6t_multiport.c b/net/ipv6/netfilter/ip6t_multiport.c index 752b65d21c72..10c48ba596d6 100644 --- a/net/ipv6/netfilter/ip6t_multiport.c +++ b/net/ipv6/netfilter/ip6t_multiport.c | |||
@@ -111,15 +111,15 @@ static struct ip6t_match multiport_match = { | |||
111 | .me = THIS_MODULE, | 111 | .me = THIS_MODULE, |
112 | }; | 112 | }; |
113 | 113 | ||
114 | static int __init init(void) | 114 | static int __init ip6t_multiport_init(void) |
115 | { | 115 | { |
116 | return ip6t_register_match(&multiport_match); | 116 | return ip6t_register_match(&multiport_match); |
117 | } | 117 | } |
118 | 118 | ||
119 | static void __exit fini(void) | 119 | static void __exit ip6t_multiport_fini(void) |
120 | { | 120 | { |
121 | ip6t_unregister_match(&multiport_match); | 121 | ip6t_unregister_match(&multiport_match); |
122 | } | 122 | } |
123 | 123 | ||
124 | module_init(init); | 124 | module_init(ip6t_multiport_init); |
125 | module_exit(fini); | 125 | module_exit(ip6t_multiport_fini); |
diff --git a/net/ipv6/netfilter/ip6t_owner.c b/net/ipv6/netfilter/ip6t_owner.c index e2cee3bcdef9..5d047990cd44 100644 --- a/net/ipv6/netfilter/ip6t_owner.c +++ b/net/ipv6/netfilter/ip6t_owner.c | |||
@@ -79,15 +79,15 @@ static struct ip6t_match owner_match = { | |||
79 | .me = THIS_MODULE, | 79 | .me = THIS_MODULE, |
80 | }; | 80 | }; |
81 | 81 | ||
82 | static int __init init(void) | 82 | static int __init ip6t_owner_init(void) |
83 | { | 83 | { |
84 | return ip6t_register_match(&owner_match); | 84 | return ip6t_register_match(&owner_match); |
85 | } | 85 | } |
86 | 86 | ||
87 | static void __exit fini(void) | 87 | static void __exit ip6t_owner_fini(void) |
88 | { | 88 | { |
89 | ip6t_unregister_match(&owner_match); | 89 | ip6t_unregister_match(&owner_match); |
90 | } | 90 | } |
91 | 91 | ||
92 | module_init(init); | 92 | module_init(ip6t_owner_init); |
93 | module_exit(fini); | 93 | module_exit(ip6t_owner_fini); |
diff --git a/net/ipv6/netfilter/ip6t_rt.c b/net/ipv6/netfilter/ip6t_rt.c index 4c6b55bb225b..fbb0184a41d8 100644 --- a/net/ipv6/netfilter/ip6t_rt.c +++ b/net/ipv6/netfilter/ip6t_rt.c | |||
@@ -225,15 +225,15 @@ static struct ip6t_match rt_match = { | |||
225 | .me = THIS_MODULE, | 225 | .me = THIS_MODULE, |
226 | }; | 226 | }; |
227 | 227 | ||
228 | static int __init init(void) | 228 | static int __init ip6t_rt_init(void) |
229 | { | 229 | { |
230 | return ip6t_register_match(&rt_match); | 230 | return ip6t_register_match(&rt_match); |
231 | } | 231 | } |
232 | 232 | ||
233 | static void __exit cleanup(void) | 233 | static void __exit ip6t_rt_fini(void) |
234 | { | 234 | { |
235 | ip6t_unregister_match(&rt_match); | 235 | ip6t_unregister_match(&rt_match); |
236 | } | 236 | } |
237 | 237 | ||
238 | module_init(init); | 238 | module_init(ip6t_rt_init); |
239 | module_exit(cleanup); | 239 | module_exit(ip6t_rt_fini); |
diff --git a/net/ipv6/netfilter/ip6table_filter.c b/net/ipv6/netfilter/ip6table_filter.c index ce4a968e1f70..e5e724d9ee60 100644 --- a/net/ipv6/netfilter/ip6table_filter.c +++ b/net/ipv6/netfilter/ip6table_filter.c | |||
@@ -159,7 +159,7 @@ static struct nf_hook_ops ip6t_ops[] = { | |||
159 | static int forward = NF_ACCEPT; | 159 | static int forward = NF_ACCEPT; |
160 | module_param(forward, bool, 0000); | 160 | module_param(forward, bool, 0000); |
161 | 161 | ||
162 | static int __init init(void) | 162 | static int __init ip6table_filter_init(void) |
163 | { | 163 | { |
164 | int ret; | 164 | int ret; |
165 | 165 | ||
@@ -201,7 +201,7 @@ static int __init init(void) | |||
201 | return ret; | 201 | return ret; |
202 | } | 202 | } |
203 | 203 | ||
204 | static void __exit fini(void) | 204 | static void __exit ip6table_filter_fini(void) |
205 | { | 205 | { |
206 | unsigned int i; | 206 | unsigned int i; |
207 | 207 | ||
@@ -211,5 +211,5 @@ static void __exit fini(void) | |||
211 | ip6t_unregister_table(&packet_filter); | 211 | ip6t_unregister_table(&packet_filter); |
212 | } | 212 | } |
213 | 213 | ||
214 | module_init(init); | 214 | module_init(ip6table_filter_init); |
215 | module_exit(fini); | 215 | module_exit(ip6table_filter_fini); |
diff --git a/net/ipv6/netfilter/ip6table_mangle.c b/net/ipv6/netfilter/ip6table_mangle.c index 30a4627e000d..e1f0f6ae9841 100644 --- a/net/ipv6/netfilter/ip6table_mangle.c +++ b/net/ipv6/netfilter/ip6table_mangle.c | |||
@@ -228,7 +228,7 @@ static struct nf_hook_ops ip6t_ops[] = { | |||
228 | }, | 228 | }, |
229 | }; | 229 | }; |
230 | 230 | ||
231 | static int __init init(void) | 231 | static int __init ip6table_mangle_init(void) |
232 | { | 232 | { |
233 | int ret; | 233 | int ret; |
234 | 234 | ||
@@ -274,7 +274,7 @@ static int __init init(void) | |||
274 | return ret; | 274 | return ret; |
275 | } | 275 | } |
276 | 276 | ||
277 | static void __exit fini(void) | 277 | static void __exit ip6table_mangle_fini(void) |
278 | { | 278 | { |
279 | unsigned int i; | 279 | unsigned int i; |
280 | 280 | ||
@@ -284,5 +284,5 @@ static void __exit fini(void) | |||
284 | ip6t_unregister_table(&packet_mangler); | 284 | ip6t_unregister_table(&packet_mangler); |
285 | } | 285 | } |
286 | 286 | ||
287 | module_init(init); | 287 | module_init(ip6table_mangle_init); |
288 | module_exit(fini); | 288 | module_exit(ip6table_mangle_fini); |
diff --git a/net/ipv6/netfilter/ip6table_raw.c b/net/ipv6/netfilter/ip6table_raw.c index db28ba3855e2..54d1fffd62ba 100644 --- a/net/ipv6/netfilter/ip6table_raw.c +++ b/net/ipv6/netfilter/ip6table_raw.c | |||
@@ -142,7 +142,7 @@ static struct nf_hook_ops ip6t_ops[] = { | |||
142 | }, | 142 | }, |
143 | }; | 143 | }; |
144 | 144 | ||
145 | static int __init init(void) | 145 | static int __init ip6table_raw_init(void) |
146 | { | 146 | { |
147 | int ret; | 147 | int ret; |
148 | 148 | ||
@@ -170,7 +170,7 @@ static int __init init(void) | |||
170 | return ret; | 170 | return ret; |
171 | } | 171 | } |
172 | 172 | ||
173 | static void __exit fini(void) | 173 | static void __exit ip6table_raw_fini(void) |
174 | { | 174 | { |
175 | unsigned int i; | 175 | unsigned int i; |
176 | 176 | ||
@@ -180,6 +180,6 @@ static void __exit fini(void) | |||
180 | ip6t_unregister_table(&packet_raw); | 180 | ip6t_unregister_table(&packet_raw); |
181 | } | 181 | } |
182 | 182 | ||
183 | module_init(init); | 183 | module_init(ip6table_raw_init); |
184 | module_exit(fini); | 184 | module_exit(ip6table_raw_fini); |
185 | MODULE_LICENSE("GPL"); | 185 | MODULE_LICENSE("GPL"); |
diff --git a/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c b/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c index c16f62934bd9..c8b5a96cbb0f 100644 --- a/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c +++ b/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c | |||
@@ -588,16 +588,16 @@ MODULE_ALIAS("nf_conntrack-" __stringify(AF_INET6)); | |||
588 | MODULE_LICENSE("GPL"); | 588 | MODULE_LICENSE("GPL"); |
589 | MODULE_AUTHOR("Yasuyuki KOZAKAI @USAGI <yasuyuki.kozakai@toshiba.co.jp>"); | 589 | MODULE_AUTHOR("Yasuyuki KOZAKAI @USAGI <yasuyuki.kozakai@toshiba.co.jp>"); |
590 | 590 | ||
591 | static int __init init(void) | 591 | static int __init nf_conntrack_l3proto_ipv6_init(void) |
592 | { | 592 | { |
593 | need_conntrack(); | 593 | need_conntrack(); |
594 | return init_or_cleanup(1); | 594 | return init_or_cleanup(1); |
595 | } | 595 | } |
596 | 596 | ||
597 | static void __exit fini(void) | 597 | static void __exit nf_conntrack_l3proto_ipv6_fini(void) |
598 | { | 598 | { |
599 | init_or_cleanup(0); | 599 | init_or_cleanup(0); |
600 | } | 600 | } |
601 | 601 | ||
602 | module_init(init); | 602 | module_init(nf_conntrack_l3proto_ipv6_init); |
603 | module_exit(fini); | 603 | module_exit(nf_conntrack_l3proto_ipv6_fini); |