mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-26 16:18:31 +00: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=90547
@ -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 New Issue
Block a user