2006-11-29 22:02:05

by Chris Wright

[permalink] [raw]
Subject: [patch 06/23] NETFILTER: arp_tables: missing unregistration on module unload

-stable review patch. If anyone has any objections, please let us know.
------------------

From: Patrick McHardy <[email protected]>

---
commit 6b22b99ecd431b63aece1fa5b1faa01b75a8302e
tree 7969fd96d4daad6eaf8a10a0659702ca3e404439
parent 0ef4760e162ea44c847cca7393b36e5bcac5414e
author Patrick McHardy <[email protected]> Fri, 17 Nov 2006 06:24:43 +0100
committer Patrick McHardy <[email protected]> Fri, 17 Nov 2006 06:24:43 +0100

net/ipv4/netfilter/arp_tables.c | 2 ++
1 file changed, 2 insertions(+)

--- linux-2.6.18.4.orig/net/ipv4/netfilter/arp_tables.c
+++ linux-2.6.18.4/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);
}


--