]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
net: Convert arptable_filter_net_ops
authorKirill Tkhai <ktkhai@virtuozzo.com>
Wed, 7 Mar 2018 09:40:28 +0000 (12:40 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Mar 2018 17:36:45 +0000 (12:36 -0500)
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>
net/ipv4/netfilter/arptable_filter.c

index 8f8713b4388fbfa9a0d36298603995b02718d21d..49c2490193aeeed2c6739ad42d2a38ef27945581 100644 (file)
@@ -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)