aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/ipv4/netfilter/arp_tables.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/netfilter/arp_tables.c b/net/ipv4/netfilter/arp_tables.c
index dbbda6b9ac7..fc33816033b 100644
--- a/net/ipv4/netfilter/arp_tables.c
+++ b/net/ipv4/netfilter/arp_tables.c
@@ -1180,6 +1180,8 @@ static int __init init(void)
static void __exit fini(void)
{
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);
}