aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
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/ipv4
parentnet: Convert pg_net_ops (diff)
downloadlinux-dev-93623f2b00297f0eb4437fc2e47ad0d4fd58a3ad.tar.xz
linux-dev-93623f2b00297f0eb4437fc2e47ad0d4fd58a3ad.zip
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/ipv4')
-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)