diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-02-26 16:03:55 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-27 19:01:39 +0300 |
commit | 79a4fb084326638b5e71e58e2207abffdf3ec031 (patch) | |
tree | 4dfb7170eb7f5034acb694dede97906e958f3079 /security | |
parent | 9532ce17f7d59d1129165949076491c06f89d1b0 (diff) | |
download | linux-79a4fb084326638b5e71e58e2207abffdf3ec031.tar.xz |
net: Convert selinux_net_ops
These pernet_operations only register and 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 'security')
-rw-r--r-- | security/selinux/hooks.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 8644d864e3c1..b4d7b6242a40 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -6743,6 +6743,7 @@ static void __net_exit selinux_nf_unregister(struct net *net) static struct pernet_operations selinux_net_ops = { .init = selinux_nf_register, .exit = selinux_nf_unregister, + .async = true, }; static int __init selinux_nf_ip_init(void) |