summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsilby <silby@FreeBSD.org>2002-02-11 23:29:15 +0000
committersilby <silby@FreeBSD.org>2002-02-11 23:29:15 +0000
commitd942145dce184ccf98210f3af7e2af9974cd9138 (patch)
tree661ca20ed1527f97fa4651dd08022c7c2405b6a9
parent139a9ceb8ebc0d5a6f0032a7292d67531879bc11 (diff)
downloadFreeBSD-src-d942145dce184ccf98210f3af7e2af9974cd9138.zip
FreeBSD-src-d942145dce184ccf98210f3af7e2af9974cd9138.tar.gz
Remove mbuf exhaustion warning messages; these are handled by the
mbuf system in a rate-limited fashion now. MFC: Already performed due to sloppiness.
-rw-r--r--sys/dev/bge/if_bge.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c
index 7b192e1..9abff50 100644
--- a/sys/dev/bge/if_bge.c
+++ b/sys/dev/bge/if_bge.c
@@ -715,15 +715,11 @@ bge_newbuf_std(sc, i, m)
if (m == NULL) {
MGETHDR(m_new, M_DONTWAIT, MT_DATA);
if (m_new == NULL) {
- printf("bge%d: mbuf allocation failed "
- "-- packet dropped!\n", sc->bge_unit);
return(ENOBUFS);
}
MCLGET(m_new, M_DONTWAIT);
if (!(m_new->m_flags & M_EXT)) {
- printf("bge%d: cluster allocation failed "
- "-- packet dropped!\n", sc->bge_unit);
m_freem(m_new);
return(ENOBUFS);
}
@@ -764,8 +760,6 @@ bge_newbuf_jumbo(sc, i, m)
/* Allocate the mbuf. */
MGETHDR(m_new, M_DONTWAIT, MT_DATA);
if (m_new == NULL) {
- printf("bge%d: mbuf allocation failed "
- "-- packet dropped!\n", sc->bge_unit);
return(ENOBUFS);
}
OpenPOWER on IntegriCloud