aboutsummaryrefslogtreecommitdiff
path: root/sys/net/if.c
diff options
context:
space:
mode:
authorMarko Zec <zec@FreeBSD.org>2009-08-14 22:46:45 +0000
committerMarko Zec <zec@FreeBSD.org>2009-08-14 22:46:45 +0000
commit9abb4862792dbcc7b65d5d6647821e03ea111579 (patch)
treee7464e2e8a56a031af7bdd9ca1633d9ac8bc7fb7 /sys/net/if.c
parentf92ae4d70643544c22f2b35dc776b6e8b25896d5 (diff)
downloadsrc-9abb4862792dbcc7b65d5d6647821e03ea111579.tar.gz
src-9abb4862792dbcc7b65d5d6647821e03ea111579.zip
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)
Notes
Notes: svn path=/head/; revision=196230
Diffstat (limited to 'sys/net/if.c')
-rw-r--r--sys/net/if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index 3ac7db05c14b..5d108981cdde 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -920,7 +920,7 @@ if_vmove_loan(struct thread *td, struct ifnet *ifp, char *ifname, int jid)
/* 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) {