1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00

Startup the vnet part of initialization a bit after the global part.

Fixes crash on boot if ipfw compiled in.

Submitted by:	tegge@
Reviewed by:	tegge@
Approved by:	re (kib)
This commit is contained in:
Julian Elischer 2009-07-28 19:58:07 +00:00
parent 7973fba3a4
commit 3d1001cb11
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=195923

View File

@ -4767,10 +4767,10 @@ vnet_ipfw_uninit(const void *unused)
return 0;
}
VNET_SYSINIT(vnet_ipfw_init, SI_SUB_KTHREAD_INIT, SI_ORDER_ANY,
VNET_SYSINIT(vnet_ipfw_init, SI_SUB_PROTO_IFATTACHDOMAIN, SI_ORDER_ANY - 255,
vnet_ipfw_init, NULL);
VNET_SYSUNINIT(vnet_ipfw_uninit, SI_SUB_KTHREAD_INIT, SI_ORDER_ANY,
VNET_SYSUNINIT(vnet_ipfw_uninit, SI_SUB_PROTO_IFATTACHDOMAIN, SI_ORDER_ANY - 255,
vnet_ipfw_uninit, NULL);