net: Convert simple pernet_operations
These pernet_operations make pretty simple actions like variable initialization on init, debug checks on exit, and so on, and they obviously are able to be executed in parallel with any others: vrf_net_ops lockd_net_ops grace_net_ops xfrm6_tunnel_net_ops kcm_net_ops tcf_net_ops Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
7300bd94e6
commit
02df428ca2
@@ -1618,6 +1618,7 @@ static struct pernet_operations tcf_net_ops = {
|
||||
.exit = tcf_net_exit,
|
||||
.id = &tcf_net_id,
|
||||
.size = sizeof(struct tcf_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init tc_filter_init(void)
|
||||
|
Reference in New Issue
Block a user