svn commit: r196230 - head/sys/net
Marko Zec
zec at FreeBSD.org
Fri Aug 14 22:46:45 UTC 2009
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) {
More information about the svn-src-all
mailing list