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)
This commit is contained in:
Marko Zec 2009-08-14 22:46:45 +00:00
parent f92ae4d706
commit 9abb486279
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=196230

View File

@ -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) {