]> git.hungrycats.org Git - linux/commitdiff
[PATCH] NETFILTER: arp_tables: missing unregistration on module unload
authorPatrick McHardy <kaber@trash.net>
Fri, 17 Nov 2006 05:35:46 +0000 (06:35 +0100)
committerChris Wright <chrisw@sous-sol.org>
Sat, 2 Dec 2006 00:12:35 +0000 (16:12 -0800)
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
net/ipv4/netfilter/arp_tables.c

index aa8465caeb33c4093ee24b4af7bb28a432138d80..8ba83e8981eebd2d7a43fc36daef7323f8c49e94 100644 (file)
@@ -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);
 }