Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd54dce0 authored by Kirill Tkhai's avatar Kirill Tkhai Committed by David S. Miller
Browse files

net: Convert nfnl_queue_net_ops



These pernet_operations register and unregister net::nf::queue_handler
and /proc entry. The handler is accessed only under RCU, so this looks
safe to convert them.

Signed-off-by: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 74f26bbf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1528,6 +1528,7 @@ static struct pernet_operations nfnl_queue_net_ops = {
	.exit_batch	= nfnl_queue_net_exit_batch,
	.id		= &nfnl_queue_net_id,
	.size		= sizeof(struct nfnl_queue_net),
	.async		= true,
};

static int __init nfnetlink_queue_init(void)