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 2009-07-28 19:58:07 +00:00
parent f22b416ddb
commit fa74d2c7e5

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);