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

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

net: Convert nf_tables_net_ops



These pernet_operations looks nicely separated per-net.
Exit method unregisters net's nf tables objects.
We allow them be executed in parallel.

Signed-off-by: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 649b9826
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6596,6 +6596,7 @@ static void __net_exit nf_tables_exit_net(struct net *net)
static struct pernet_operations nf_tables_net_ops = {
	.init	= nf_tables_init_net,
	.exit	= nf_tables_exit_net,
	.async	= true,
};

static int __init nf_tables_module_init(void)