From c6499eccad497913a5025fbde8ae76da70e08043 Mon Sep 17 00:00:00 2001 From: Gleb Smirnoff Date: Tue, 4 Dec 2012 09:32:43 +0000 Subject: Mechanically substitute flags from historic mbuf allocator with malloc(9) flags in sys/dev. --- sys/dev/xe/if_xe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/xe/if_xe.c') diff --git a/sys/dev/xe/if_xe.c b/sys/dev/xe/if_xe.c index 57411bac7f1e..855c8c166433 100644 --- a/sys/dev/xe/if_xe.c +++ b/sys/dev/xe/if_xe.c @@ -757,14 +757,14 @@ xe_rxintr(struct xe_softc *scp, uint8_t rst0) * read 16-bit words). XXX - Surely there's a * better way to do this alignment? */ - MGETHDR(mbp, M_DONTWAIT, MT_DATA); + MGETHDR(mbp, M_NOWAIT, MT_DATA); if (mbp == NULL) { ifp->if_iqdrops++; continue; } if (len + 3 > MHLEN) { - MCLGET(mbp, M_DONTWAIT); + MCLGET(mbp, M_NOWAIT); if ((mbp->m_flags & M_EXT) == 0) { m_freem(mbp); ifp->if_iqdrops++; -- cgit v1.2.3