From: Patrick McHardy Date: Fri, 17 Nov 2006 05:35:46 +0000 (+0100) Subject: [PATCH] NETFILTER: arp_tables: missing unregistration on module unload X-Git-Tag: v2.6.18.5~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61706f0a27bb5f68be0dbbb8cbffa31c4b986e40;p=thirdparty%2Fkernel%2Fstable.git [PATCH] NETFILTER: arp_tables: missing unregistration on module unload Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller Signed-off-by: Chris Wright --- diff --git a/net/ipv4/netfilter/arp_tables.c b/net/ipv4/netfilter/arp_tables.c index aa8465caeb33c..8ba83e8981eeb 100644 --- a/net/ipv4/netfilter/arp_tables.c +++ b/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); }