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

Tor Egge Tor.Egge at cvsup.no.freebsd.org
Tue Jul 28 18:46:01 UTC 2009


> ok I wonder where the "right" place to add it is.. probably keep it
> at  SI_SUB_PROTO_IFATTACHDOMAIN, SI_ORDER_ANY - 256.
> 
> an you check if that fixes it?  possibly moving the 256 to 255?

That depends on the wanted order between ipfw_init() and vnet_ipfw_init().
Using (SI_SUB_PROTO_IFATTACHDOMAIN, SI_ORDER_ANY - 256) makes the order
undefined.

Changing the VNET_SYS*INIT() macro arguments in ip_fw2.c from
(SI_SUB_KTHREAD_INIT, SI_ORDER_ANY) to (SI_SUB_PROTO_IFATTACHDOMAIN,
SI_ORDER_ANY - 255) allows my laptop to boot.  I'm not familiar with VIMAGE,
and my laptop kernel does not have that option, so I don't know if that will
interfere with the initialization order between vnet_ipfw_init() and other
VIMAGE/vnet related initializations.

- Tor Egge


More information about the svn-src-head mailing list