From: Kirill Tkhai Date: Mon, 26 Feb 2018 13:04:02 +0000 (+0300) Subject: net: Convert smack_net_ops X-Git-Tag: microblaze-v4.18-rc1~187^2~354^2 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=3edbccf96d2de30e7b986ceae090becfc07d3573;p=linux-2.6-microblaze.git 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 Signed-off-by: David S. Miller --- 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)