aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2006-11-17 06:35:46 +0100
committerChris Wright <chrisw@sous-sol.org>2006-12-01 16:12:35 -0800
commit61706f0a27bb5f68be0dbbb8cbffa31c4b986e40 (patch)
treeda608397533f2ccd5f2505877879d051dbcb0373
parentfec748200becfd75894a643fe907fc9795bd07bf (diff)
[PATCH] NETFILTER: arp_tables: missing unregistration on module unload
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Chris Wright <chrisw@sous-sol.org>
-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 aa8465caeb3..8ba83e8981e 100644
--- a/net/ipv4/netfilter/arp_tables.c
+++ b/net/ipv4/netfilter/arp_tables.c
@@ -1211,6 +1211,8 @@ err1:
static void __exit arp_tables_fini(void)
{
nf_unregister_sockopt(&arpt_sockopts);
+ xt_unregister_target(&arpt_error_target);
+ xt_unregister_target(&arpt_standard_target);
xt_proto_fini(NF_ARP);
}