From: Patrick McHardy Date: Thu, 12 Oct 2006 21:08:11 +0000 (-0700) Subject: [NETFILTER]: arp_tables: missing unregistration on module unload X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f603b6ec50faabbabde53ae2e2ce774968524c40;p=linux-beck.git [NETFILTER]: arp_tables: missing unregistration on module unload Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- 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); }