Remove mbuf exhaustion warning messages; these are handled by the

mbuf system in a rate-limited fashion now.

MFC:	Already performed due to sloppiness.
This commit is contained in:
Mike Silbersack 2002-02-11 23:29:15 +00:00
parent 59d1bdfdc8
commit a9e6a9792e

View file

@ -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);
}