mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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:
parent
59d1bdfdc8
commit
a9e6a9792e
1 changed files with 0 additions and 6 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue