From 61706f0a27bb5f68be0dbbb8cbffa31c4b986e40 Mon Sep 17 00:00:00 2001 From: Patrick McHardy Date: Fri, 17 Nov 2006 06:35:46 +0100 Subject: [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 --- net/ipv4/netfilter/arp_tables.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/ipv4/netfilter/arp_tables.c b/net/ipv4/netfilter/arp_tables.c index aa8465caeb3..8ba83e8981e 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); } -- cgit v1.2.3-18-g5258