diff options
author | Patrick McHardy <kaber@trash.net> | 2006-10-12 23:08:11 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-10-16 08:14:07 +0200 |
commit | f603b6ec50faabbabde53ae2e2ce774968524c40 (patch) | |
tree | 91eba4f8f4e49f42541061307ea8fa73965603f6 /net | |
parent | [NETFILTER]: fix cut-and-paste error in exit functions (diff) | |
download | linux-f603b6ec50faabbabde53ae2e2ce774968524c40.tar.xz 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.c | 2 |
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); } |