aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2006-10-12 14:08:11 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-10-15 23:14:07 -0700
commitf603b6ec50faabbabde53ae2e2ce774968524c40 (patch)
tree91eba4f8f4e49f42541061307ea8fa73965603f6
parent[NETFILTER]: fix cut-and-paste error in exit functions (diff)
downloadlinux-dev-f603b6ec50faabbabde53ae2e2ce774968524c40.tar.xz
linux-dev-f603b6ec50faabbabde53ae2e2ce774968524c40.zip
[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>
-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 17e1a687ab45..0849f1cced13 100644
--- a/net/ipv4/netfilter/arp_tables.c
+++ b/net/ipv4/netfilter/arp_tables.c
@@ -1196,6 +1196,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);
}