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:
parent
f92ae4d706
commit
9abb486279
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=196230
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user