Skip to content

Commit

Permalink
net: Convert defrag4_net_ops
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kirill Tkhai authored and David S. Miller committed Feb 27, 2018
1 parent f95978b commit e5b2ae9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/ipv4/netfilter/nf_defrag_ipv4.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ static void __net_exit defrag4_net_exit(struct net *net)

static struct pernet_operations defrag4_net_ops = {
.exit = defrag4_net_exit,
.async = true,
};

static int __init nf_defrag_init(void)
Expand Down

0 comments on commit e5b2ae9

Please sign in to comment.