summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2015-12-22 15:00:04 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2015-12-22 15:00:04 +0000
commit616bc4f4760f72918007a25b08a243b8912719f7 (patch)
tree08e0b6605117548b387c52270da758ebeac35545
parent76d68eccbdcffab8929cc3df8412854ea19e8f0e (diff)
Notes
-rw-r--r--sys/net/bpf.c2
-rw-r--r--sys/netinet/tcp_subr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c
index 985208b1975a..37edbe827537 100644
--- a/sys/net/bpf.c
+++ b/sys/net/bpf.c
@@ -2551,7 +2551,7 @@ bpfattach2(struct ifnet *ifp, u_int dlt, u_int hdrlen, struct bpf_if **driverp)
bp->bif_hdrlen = hdrlen;
- if (bootverbose)
+ if (bootverbose && IS_DEFAULT_VNET(curvnet))
if_printf(ifp, "bpf attached\n");
}
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index 687816575efa..045d516b383c 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -609,7 +609,7 @@ tcp_init(void)
*/
if (hashsize < 512)
hashsize = 512;
- if (bootverbose)
+ if (bootverbose && IS_DEFAULT_VNET(curvnet))
printf("%s: %s auto tuned to %d\n", __func__,
tcbhash_tuneable, hashsize);
}