Commit 7ca9e67f authored by Kirill Tkhai's avatar Kirill Tkhai Committed by David S. Miller

net: Convert brnf_net_ops

These pernet_operations only unregister nf hooks.
So, they are able to be marked as async.
Signed-off-by: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 68eabe8b
...@@ -967,6 +967,7 @@ static struct pernet_operations brnf_net_ops __read_mostly = { ...@@ -967,6 +967,7 @@ static struct pernet_operations brnf_net_ops __read_mostly = {
.exit = brnf_exit_net, .exit = brnf_exit_net,
.id = &brnf_net_id, .id = &brnf_net_id,
.size = sizeof(struct brnf_net), .size = sizeof(struct brnf_net),
.async = true,
}; };
static struct notifier_block brnf_notifier __read_mostly = { static struct notifier_block brnf_notifier __read_mostly = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment