aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-01-22 21:39:03 +0100
committerAdrian Bunk <bunk@stusta.de>2007-01-22 21:39:03 +0100
commit57ec068c31de12ca418887e99167ccb9669d44ea (patch)
treee86f0f8c60206f772cc090bf8fb2a454586ffaca /net
parent6ed8c5d391a6fe262c8acbdabf7569f790135180 (diff)
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: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'net')
-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);
}