[NETFILTER]: arp_tables: missing unregistration on module unload Signed-off-by: Patrick McHardy --- commit 7f7a882296c917251a7936b41ee001e545a09e6c tree 9cf7af01ce1b1d8e97caa59d6efceeefab9a3b5b parent c7b1507f3c040c02efa1b955f7180a33a232c4d9 author Patrick McHardy Wed, 11 Oct 2006 09:24:54 +0200 committer Patrick McHardy Wed, 11 Oct 2006 09:24:54 +0200 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 17e1a68..0849f1c 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); }