Commit 57ec068c authored by Patrick McHardy's avatar Patrick McHardy Committed by Adrian Bunk

NETFILTER: arp_tables: missing unregistration on module unload

Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
parent 6ed8c5d3
...@@ -1180,6 +1180,8 @@ static int __init init(void) ...@@ -1180,6 +1180,8 @@ static int __init init(void)
static void __exit fini(void) static void __exit fini(void)
{ {
nf_unregister_sockopt(&arpt_sockopts); nf_unregister_sockopt(&arpt_sockopts);
xt_unregister_target(NF_ARP, &arpt_error_target);
xt_unregister_target(NF_ARP, &arpt_standard_target);
xt_proto_fini(NF_ARP); xt_proto_fini(NF_ARP);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment