Commit 9532ce17 authored by Kirill Tkhai's avatar Kirill Tkhai Committed by David S. Miller

net: Convert defrag6_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 afd7b3eb
...@@ -103,6 +103,7 @@ static void __net_exit defrag6_net_exit(struct net *net) ...@@ -103,6 +103,7 @@ static void __net_exit defrag6_net_exit(struct net *net)
static struct pernet_operations defrag6_net_ops = { static struct pernet_operations defrag6_net_ops = {
.exit = defrag6_net_exit, .exit = defrag6_net_exit,
.async = true,
}; };
static int __init nf_defrag_init(void) static int __init nf_defrag_init(void)
......
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