diff options
author | glebius <glebius@FreeBSD.org> | 2012-12-04 09:32:43 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2012-12-04 09:32:43 +0000 |
commit | a69aaa772119d359e38760dd0e931bed9afb88bf (patch) | |
tree | 30c414dead3eba042cad7b6cbb32d1c9cba96149 /sys/dev/ie | |
parent | 75a08a975ae27f7cf7af6db9f5ee6e87136be40d (diff) | |
download | FreeBSD-src-a69aaa772119d359e38760dd0e931bed9afb88bf.zip FreeBSD-src-a69aaa772119d359e38760dd0e931bed9afb88bf.tar.gz |
Mechanically substitute flags from historic mbuf allocator with
malloc(9) flags in sys/dev.
Diffstat (limited to 'sys/dev/ie')
-rw-r--r-- | sys/dev/ie/if_ie.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ie/if_ie.c b/sys/dev/ie/if_ie.c index fb0d987..e945a06 100644 --- a/sys/dev/ie/if_ie.c +++ b/sys/dev/ie/if_ie.c @@ -698,7 +698,7 @@ ieget(struct ie_softc *sc, struct mbuf **mp) return (-1); } - MGETHDR(m, M_DONTWAIT, MT_DATA); + MGETHDR(m, M_NOWAIT, MT_DATA); if (!m) { ie_drop_packet_buffer(sc); /* XXXX if_ierrors++; */ @@ -727,7 +727,7 @@ ieget(struct ie_softc *sc, struct mbuf **mp) * single mbuf which may or may not be big enough. Got that? */ if (top) { - MGET(m, M_DONTWAIT, MT_DATA); + MGET(m, M_NOWAIT, MT_DATA); if (!m) { m_freem(top); ie_drop_packet_buffer(sc); @@ -736,7 +736,7 @@ ieget(struct ie_softc *sc, struct mbuf **mp) m->m_len = MLEN; } if (resid >= MINCLSIZE) { - MCLGET(m, M_DONTWAIT); + MCLGET(m, M_NOWAIT); if (m->m_flags & M_EXT) m->m_len = min(resid, MCLBYTES); } else { |