From 57ec068c31de12ca418887e99167ccb9669d44ea Mon Sep 17 00:00:00 2001 From: Patrick McHardy Date: Mon, 22 Jan 2007 21:39:03 +0100 Subject: [PATCH] NETFILTER: arp_tables: missing unregistration on module unload Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller Signed-off-by: Adrian Bunk --- net/ipv4/netfilter/arp_tables.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/ipv4/netfilter/arp_tables.c b/net/ipv4/netfilter/arp_tables.c index dbbda6b9ac77..fc33816033b3 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); } -- 2.39.5