summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-03-07 12:40:28 +0300
committerDavid S. Miller <davem@davemloft.net>2018-03-08 12:36:45 -0500
commit93623f2b00297f0eb4437fc2e47ad0d4fd58a3ad (patch)
tree34f054c55ee61a37b8db4bd4477f00db324f3d69 /net
parent59d269731e2bcfb72d29f2e0281d6631aef1ff8e (diff)
downloadlinux-93623f2b00297f0eb4437fc2e47ad0d4fd58a3ad.tar.bz2
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>
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/netfilter/arptable_filter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/netfilter/arptable_filter.c b/net/ipv4/netfilter/arptable_filter.c
index 8f8713b4388f..49c2490193ae 100644
--- a/net/ipv4/netfilter/arptable_filter.c
+++ b/net/ipv4/netfilter/arptable_filter.c
@@ -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)