diff options
Diffstat (limited to 'net/decnet')
-rw-r--r-- | net/decnet/netfilter/dn_rtmsg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/decnet/netfilter/dn_rtmsg.c b/net/decnet/netfilter/dn_rtmsg.c index 16a5a31e2126..74133ecd7700 100644 --- a/net/decnet/netfilter/dn_rtmsg.c +++ b/net/decnet/netfilter/dn_rtmsg.c | |||
@@ -133,7 +133,7 @@ static struct nf_hook_ops dnrmg_ops = { | |||
133 | .priority = NF_DN_PRI_DNRTMSG, | 133 | .priority = NF_DN_PRI_DNRTMSG, |
134 | }; | 134 | }; |
135 | 135 | ||
136 | static int __init init(void) | 136 | static int __init dn_rtmsg_init(void) |
137 | { | 137 | { |
138 | int rv = 0; | 138 | int rv = 0; |
139 | 139 | ||
@@ -152,7 +152,7 @@ static int __init init(void) | |||
152 | return rv; | 152 | return rv; |
153 | } | 153 | } |
154 | 154 | ||
155 | static void __exit fini(void) | 155 | static void __exit dn_rtmsg_fini(void) |
156 | { | 156 | { |
157 | nf_unregister_hook(&dnrmg_ops); | 157 | nf_unregister_hook(&dnrmg_ops); |
158 | sock_release(dnrmg->sk_socket); | 158 | sock_release(dnrmg->sk_socket); |
@@ -164,6 +164,6 @@ MODULE_AUTHOR("Steven Whitehouse <steve@chygwyn.com>"); | |||
164 | MODULE_LICENSE("GPL"); | 164 | MODULE_LICENSE("GPL"); |
165 | MODULE_ALIAS_NET_PF_PROTO(PF_NETLINK, NETLINK_DNRTMSG); | 165 | MODULE_ALIAS_NET_PF_PROTO(PF_NETLINK, NETLINK_DNRTMSG); |
166 | 166 | ||
167 | module_init(init); | 167 | module_init(dn_rtmsg_init); |
168 | module_exit(fini); | 168 | module_exit(dn_rtmsg_fini); |
169 | 169 | ||