diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-03-07 12:39:51 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-08 20:36:44 +0300 |
commit | ffdf72bc1eed9a56aa266bde2d425f85b4d4ca18 (patch) | |
tree | fe787d5df1fdde5dd4e4045041cc29c840e51b5c /net | |
parent | cf51503a03f7ff89d8152a3132843330be90729e (diff) | |
download | linux-ffdf72bc1eed9a56aa266bde2d425f85b4d4ca18.tar.xz |
net: Convert cttimeout_ops
These pernet_operations also look closed in themself.
Exit method touch only per-net structures, so it's
safe to execute them for several net namespaces in parallel.
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/netfilter/nfnetlink_cttimeout.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netfilter/nfnetlink_cttimeout.c b/net/netfilter/nfnetlink_cttimeout.c index 95b04702a655..6819300f7fb7 100644 --- a/net/netfilter/nfnetlink_cttimeout.c +++ b/net/netfilter/nfnetlink_cttimeout.c @@ -586,6 +586,7 @@ static void __net_exit cttimeout_net_exit(struct net *net) static struct pernet_operations cttimeout_ops = { .init = cttimeout_net_init, .exit = cttimeout_net_exit, + .async = true, }; static int __init cttimeout_init(void) |