projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9532ce1
)
net: Convert selinux_net_ops
author
Kirill Tkhai
<ktkhai@virtuozzo.com>
Mon, 26 Feb 2018 13:03:55 +0000
(16:03 +0300)
committer
David S. Miller
<davem@davemloft.net>
Tue, 27 Feb 2018 16:01:39 +0000
(11:01 -0500)
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>
security/selinux/hooks.c
patch
|
blob
|
history
diff --git
a/security/selinux/hooks.c
b/security/selinux/hooks.c
index 8644d864e3c196ca3dc8a10cb84c2daa97e3a596..b4d7b6242a404476b959948fbefa4a7e8c95cd24 100644
(file)
--- 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)