diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-02-26 16:03:15 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-27 11:01:39 -0500 |
commit | e5b2ae93b523304461b2e4ddb59be47f4d4ed1b0 (patch) | |
tree | 0cdc457c5be7bc2b9b7378ef42861cf9dde84d56 /net/ipv4 | |
parent | f95978b7ad0972610b14c65f13f69b3093ff9101 (diff) | |
download | linux-e5b2ae93b523304461b2e4ddb59be47f4d4ed1b0.tar.bz2 |
net: Convert defrag4_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/ipv4')
-rw-r--r-- | net/ipv4/netfilter/nf_defrag_ipv4.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/netfilter/nf_defrag_ipv4.c b/net/ipv4/netfilter/nf_defrag_ipv4.c index a0d3ad60a411..57244b62a4fc 100644 --- a/net/ipv4/netfilter/nf_defrag_ipv4.c +++ b/net/ipv4/netfilter/nf_defrag_ipv4.c @@ -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) |