PERFORCE change 154705 for review

Bjoern A. Zeeb bz at FreeBSD.org
Mon Dec 15 07:32:16 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=154705

Change 154705 by bz at bz_dumpster on 2008/12/15 15:31:50

	Use proper #ifdef to avoid cicrular module registration
	resulting in:
	panic: attempt to register an already registered vnet module

Affected files ...

.. //depot/projects/vimage/src/sys/net/if.c#59 edit

Differences ...

==== //depot/projects/vimage/src/sys/net/if.c#59 (text+ko) ====

@@ -402,7 +402,7 @@
 {
 	INIT_VNET_NET(curvnet);
 
-#ifndef VIMAGE_GLOBALS
+#ifndef VIMAGE
 	vnet_mod_register(&vnet_net_modinfo);
 #endif
 


More information about the p4-projects mailing list