PERFORCE change 167227 for review

Marko Zec zec at FreeBSD.org
Tue Aug 11 23:00:44 UTC 2009


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

Change 167227 by zec at zec_tpx32 on 2009/08/11 22:59:45

	Appease VNET_DEBUG - in if_vmove we temporarily switch i.e.
	recurse from one vnet to another which is OK, so no need 
	to flood the console with warnings here.

Affected files ...

.. //depot/projects/vimage-commit2/src/sys/net/if.c#82 edit

Differences ...

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

@@ -920,7 +920,7 @@
 
 	/* Make sure the named iface does not exists in the dst. prison/vnet. */
 	/* XXX Lock interfaces to avoid races. */
-	CURVNET_SET(pr->pr_vnet);
+	CURVNET_SET_QUIET(pr->pr_vnet);
 	difp = ifunit(ifname);
 	CURVNET_RESTORE();
 	if (difp != NULL) {


More information about the p4-projects mailing list