diff options
author | Kirill Tkhai | 2018-02-26 16:04:02 +0300 |
---|---|---|
committer | David S. Miller | 2018-02-27 11:01:39 -0500 |
commit | 3edbccf96d2de30e7b986ceae090becfc07d3573 (patch) | |
tree | 5c5d9694c45de9a34528de7e14627425acfcc4b7 | |
parent | 79a4fb084326638b5e71e58e2207abffdf3ec031 (diff) |
net: Convert smack_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>
-rw-r--r-- | security/smack/smack_netfilter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/smack/smack_netfilter.c b/security/smack/smack_netfilter.c index e36d17835d4f..3f29c03162ca 100644 --- a/security/smack/smack_netfilter.c +++ b/security/smack/smack_netfilter.c @@ -89,6 +89,7 @@ static void __net_exit smack_nf_unregister(struct net *net) static struct pernet_operations smack_net_ops = { .init = smack_nf_register, .exit = smack_nf_unregister, + .async = true, }; static int __init smack_nf_ip_init(void) |