summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/misc/udbp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/misc/udbp.c')
-rw-r--r--sys/dev/usb/misc/udbp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/misc/udbp.c b/sys/dev/usb/misc/udbp.c
index 150985e..56f86ae 100644
--- a/sys/dev/usb/misc/udbp.c
+++ b/sys/dev/usb/misc/udbp.c
@@ -410,12 +410,12 @@ udbp_bulk_read_callback(struct usb_xfer *xfer, usb_error_t error)
/* allocate new mbuf */
- MGETHDR(m, M_DONTWAIT, MT_DATA);
+ MGETHDR(m, M_NOWAIT, MT_DATA);
if (m == NULL) {
goto tr_setup;
}
- MCLGET(m, M_DONTWAIT);
+ MCLGET(m, M_NOWAIT);
if (!(m->m_flags & M_EXT)) {
m_freem(m);
OpenPOWER on IntegriCloud