summaryrefslogtreecommitdiffstats
path: root/net/bridge
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-02-26 16:02:56 +0300
committerDavid S. Miller <davem@davemloft.net>2018-02-27 11:01:38 -0500
commit7ca9e67febb1441baa0481fbd46745288338afe6 (patch)
tree675227c626f9d00c76668ef6f0ad8923c4ee41e8 /net/bridge
parent68eabe8b660c4210f8a6dc1dbc1ae1cac5543a68 (diff)
downloadlinux-7ca9e67febb1441baa0481fbd46745288338afe6.tar.bz2
net: Convert brnf_net_ops
These pernet_operations only unregister nf hooks. So, they are able to be marked as async. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
-rw-r--r--net/bridge/br_netfilter_hooks.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/br_netfilter_hooks.c b/net/bridge/br_netfilter_hooks.c
index 27f1d4f2114a..484f54150525 100644
--- a/net/bridge/br_netfilter_hooks.c
+++ b/net/bridge/br_netfilter_hooks.c
@@ -967,6 +967,7 @@ static struct pernet_operations brnf_net_ops __read_mostly = {
.exit = brnf_exit_net,
.id = &brnf_net_id,
.size = sizeof(struct brnf_net),
+ .async = true,
};
static struct notifier_block brnf_notifier __read_mostly = {