summaryrefslogtreecommitdiffstats
path: root/net
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 /net
parentf64ad5bb044326c6ebc6535d661c1abe78a0e5f2 (diff)
downloadlinux-f603b6ec50faabbabde53ae2e2ce774968524c40.tar.gz
linux-f603b6ec50faabbabde53ae2e2ce774968524c40.tar.bz2
linux-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>
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 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);
}