Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Aug 2009 22:46:45 +0000 (UTC)
From:      Marko Zec <zec@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r196230 - head/sys/net
Message-ID:  <200908142246.n7EMkjgw050245@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zec
Date: Fri Aug 14 22:46:45 2009
New Revision: 196230
URL: http://svn.freebsd.org/changeset/base/196230

Log:
  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.
  
  Approved by:	re (rwatson), julian (mentor)

Modified:
  head/sys/net/if.c

Modified: head/sys/net/if.c
==============================================================================
--- head/sys/net/if.c	Fri Aug 14 22:43:25 2009	(r196229)
+++ head/sys/net/if.c	Fri Aug 14 22:46:45 2009	(r196230)
@@ -920,7 +920,7 @@ if_vmove_loan(struct thread *td, struct 
 
 	/* 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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908142246.n7EMkjgw050245>