mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
net: Convert arptable_filter_net_ops
These pernet_operations unregister net::ipv4::arptable_filter. Another net/pernet_operations do not send arp packets to foreign net namespaces. So, we mark them async. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
59d269731e
commit
93623f2b00
@ -65,6 +65,7 @@ static void __net_exit arptable_filter_net_exit(struct net *net)
|
||||
|
||||
static struct pernet_operations arptable_filter_net_ops = {
|
||||
.exit = arptable_filter_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init arptable_filter_init(void)
|
||||
|
Loading…
Reference in New Issue
Block a user