Remove mbuf exhaustion warning messages; these are handled by the
mbuf system in a rate-limited fashion now. Reviewed by: luigi MFC after: 1 week
This commit is contained in:
parent
a1a10418c8
commit
ce2c570ba3
@ -1836,8 +1836,6 @@ fxp_add_rfabuf(struct fxp_softc *sc, struct mbuf *oldm)
|
|||||||
if (m != NULL) {
|
if (m != NULL) {
|
||||||
MCLGET(m, M_DONTWAIT);
|
MCLGET(m, M_DONTWAIT);
|
||||||
if ((m->m_flags & M_EXT) == 0) {
|
if ((m->m_flags & M_EXT) == 0) {
|
||||||
device_printf(sc->dev,
|
|
||||||
"cluster allocation failed, packet dropped!\n");
|
|
||||||
m_freem(m);
|
m_freem(m);
|
||||||
if (oldm == NULL)
|
if (oldm == NULL)
|
||||||
return 1;
|
return 1;
|
||||||
@ -1845,8 +1843,6 @@ fxp_add_rfabuf(struct fxp_softc *sc, struct mbuf *oldm)
|
|||||||
m->m_data = m->m_ext.ext_buf;
|
m->m_data = m->m_ext.ext_buf;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
device_printf(sc->dev,
|
|
||||||
"mbuf allocation failed, packet dropped!\n");
|
|
||||||
if (oldm == NULL)
|
if (oldm == NULL)
|
||||||
return 1;
|
return 1;
|
||||||
m = oldm;
|
m = oldm;
|
||||||
|
Loading…
Reference in New Issue
Block a user