summaryrefslogtreecommitdiffstats
path: root/sys/net/if.c
diff options
context:
space:
mode:
authorzec <zec@FreeBSD.org>2009-08-14 22:46:45 +0000
committerzec <zec@FreeBSD.org>2009-08-14 22:46:45 +0000
commit51ca260850b223c3af3ad2e408661f29d2d54044 (patch)
treee7464e2e8a56a031af7bdd9ca1633d9ac8bc7fb7 /sys/net/if.c
parent5f19f38b2404ff11e7bc462f204b595b9b6bd19a (diff)
downloadFreeBSD-src-51ca260850b223c3af3ad2e408661f29d2d54044.zip
FreeBSD-src-51ca260850b223c3af3ad2e408661f29d2d54044.tar.gz
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)
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 3ac7db0..5d10898 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) {
OpenPOWER on IntegriCloud