Add a dummy VNET_SYSINIT that will make sure all VNETs started will
always end on SI_SUB_VNET_DONE. Obtained from: projects/vnet Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
416970ad85
commit
00e36a5c7c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=300151
@ -358,6 +358,16 @@ vnet_data_startup(void *dummy __unused)
|
||||
}
|
||||
SYSINIT(vnet_data, SI_SUB_KLD, SI_ORDER_FIRST, vnet_data_startup, 0);
|
||||
|
||||
/* Dummy VNET_SYSINIT to make sure we always reach the final end state. */
|
||||
static void
|
||||
vnet_sysinit_done(void *unused __unused)
|
||||
{
|
||||
|
||||
return;
|
||||
}
|
||||
VNET_SYSINIT(vnet_sysinit_done, SI_SUB_VNET_DONE, SI_ORDER_ANY,
|
||||
vnet_sysinit_done, NULL);
|
||||
|
||||
/*
|
||||
* When a module is loaded and requires storage for a virtualized global
|
||||
* variable, allocate space from the modspace free list. This interface
|
||||
|
Loading…
Reference in New Issue
Block a user