[NETFILTER]: arp_tables: missing unregistration on module unload
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
f64ad5bb04
commit
f603b6ec50
@@ -1196,6 +1196,8 @@ err1:
|
|||||||
static void __exit arp_tables_fini(void)
|
static void __exit arp_tables_fini(void)
|
||||||
{
|
{
|
||||||
nf_unregister_sockopt(&arpt_sockopts);
|
nf_unregister_sockopt(&arpt_sockopts);
|
||||||
|
xt_unregister_target(&arpt_error_target);
|
||||||
|
xt_unregister_target(&arpt_standard_target);
|
||||||
xt_proto_fini(NF_ARP);
|
xt_proto_fini(NF_ARP);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user