PERFORCE change 160642 for review

Marko Zec zec at FreeBSD.org
Tue Apr 14 14:05:58 PDT 2009


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

Change 160642 by zec at zec_tpx32 on 2009/04/14 21:05:18

	Either register vnet_inet_iattach() via the vnet_mod_register()
	framework and let it be called by the framework, or call
	vnet_net_iattach() directly, but not both.

Affected files ...

.. //depot/projects/vimage-commit/src/sys/net/if.c#18 edit

Differences ...

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

@@ -401,8 +401,9 @@
 
 #ifndef VIMAGE_GLOBALS
 	vnet_mod_register(&vnet_net_modinfo);
+#else
+	vnet_net_iattach(NULL);
 #endif
-	vnet_net_iattach(NULL);
 
 	IFNET_LOCK_INIT();
 	ifdev_setbyindex(0, make_dev(&net_cdevsw, 0, UID_ROOT, GID_WHEEL,


More information about the p4-projects mailing list