diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-03-15 12:11:44 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-17 17:07:39 -0400 |
commit | 6c77e79557acd9b3b896a8075a19ef11ed887a99 (patch) | |
tree | ed97b87808bfd3658be4ff8793e9af6a2f37653b /net/netfilter | |
parent | d0edfbb4ba4a88399c169cf2c26b252d39f503bc (diff) |
net: Convert ip_vs_ftp_ops
These pernet_operations register and unregister ipvs app.
register_ip_vs_app(), unregister_ip_vs_app() and
register_ip_vs_app_inc() modify per-net structures,
and there are no global structures touched. So,
this looks safe 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/netfilter')
-rw-r--r-- | net/netfilter/ipvs/ip_vs_ftp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netfilter/ipvs/ip_vs_ftp.c b/net/netfilter/ipvs/ip_vs_ftp.c index 58d5d05aec24..8b25aab41928 100644 --- a/net/netfilter/ipvs/ip_vs_ftp.c +++ b/net/netfilter/ipvs/ip_vs_ftp.c @@ -479,6 +479,7 @@ static void __ip_vs_ftp_exit(struct net *net) static struct pernet_operations ip_vs_ftp_ops = { .init = __ip_vs_ftp_init, .exit = __ip_vs_ftp_exit, + .async = true, }; static int __init ip_vs_ftp_init(void) |