aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/xe/if_xe.c
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2012-12-04 09:32:43 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2012-12-04 09:32:43 +0000
commitc6499eccad497913a5025fbde8ae76da70e08043 (patch)
tree30c414dead3eba042cad7b6cbb32d1c9cba96149 /sys/dev/xe/if_xe.c
parent8ca5c3fae7d077e4e6460a251160585709f6e37e (diff)
downloadsrc-c6499eccad497913a5025fbde8ae76da70e08043.tar.gz
src-c6499eccad497913a5025fbde8ae76da70e08043.zip
Notes
Diffstat (limited to 'sys/dev/xe/if_xe.c')
-rw-r--r--sys/dev/xe/if_xe.c4
1 files changed, 2 insertions, 2 deletions
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++;