diff options
-rw-r--r-- | sys/dev/fxp/if_fxp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index fe1c891..9cdf45c 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -1767,6 +1767,8 @@ fxp_add_rfabuf(struct fxp_softc *sc, struct mbuf *oldm) if (m != NULL) { MCLGET(m, M_DONTWAIT); if ((m->m_flags & M_EXT) == 0) { + device_printf(sc->dev, + "cluster allocation failed, packet dropped!\n"); m_freem(m); if (oldm == NULL) return 1; @@ -1774,6 +1776,8 @@ fxp_add_rfabuf(struct fxp_softc *sc, struct mbuf *oldm) m->m_data = m->m_ext.ext_buf; } } else { + device_printf(sc->dev, + "mbuf allocation failed, packet dropped!\n"); if (oldm == NULL) return 1; m = oldm; |