svn commit: r195923 - head/sys/netinet/ipfw

Julian Elischer julian at FreeBSD.org
Tue Jul 28 19:58:08 UTC 2009


Author: julian
Date: Tue Jul 28 19:58:07 2009
New Revision: 195923
URL: http://svn.freebsd.org/changeset/base/195923

Log:
  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)

Modified:
  head/sys/netinet/ipfw/ip_fw2.c

Modified: head/sys/netinet/ipfw/ip_fw2.c
==============================================================================
--- head/sys/netinet/ipfw/ip_fw2.c	Tue Jul 28 19:43:27 2009	(r195922)
+++ head/sys/netinet/ipfw/ip_fw2.c	Tue Jul 28 19:58:07 2009	(r195923)
@@ -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);
 
  


More information about the svn-src-head mailing list