summaryrefslogtreecommitdiffstats
path: root/sys/mips/cavium/octe/ethernet-rx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/mips/cavium/octe/ethernet-rx.c')
-rw-r--r--sys/mips/cavium/octe/ethernet-rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/mips/cavium/octe/ethernet-rx.c b/sys/mips/cavium/octe/ethernet-rx.c
index 0f00245..910d6bd 100644
--- a/sys/mips/cavium/octe/ethernet-rx.c
+++ b/sys/mips/cavium/octe/ethernet-rx.c
@@ -228,7 +228,7 @@ void cvm_oct_tasklet_rx(void *context, int pending)
/* We have to copy the packet. First allocate an
mbuf for it */
- MGETHDR(m, M_DONTWAIT, MT_DATA);
+ MGETHDR(m, M_NOWAIT, MT_DATA);
if (m == NULL) {
DEBUGPRINT("Port %d failed to allocate mbuf, packet dropped\n", work->word1.cn38xx.ipprt);
cvm_oct_free_work(work);
OpenPOWER on IntegriCloud