These pernet_operations only register and unregister nf hooks. So, they are able to be marked as async.
Signed-off-by: Kirill Tkhai <ktk...@virtuozzo.com> --- security/smack/smack_netfilter.c | 1 + 1 file changed, 1 insertion(+) 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)