summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_uath.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/if_uath.c')
-rw-r--r--sys/dev/usb/if_uath.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/if_uath.c b/sys/dev/usb/if_uath.c
index ae047c6597c..e75546ba901 100644
--- a/sys/dev/usb/if_uath.c
+++ b/sys/dev/usb/if_uath.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_uath.c,v 1.85 2020/07/10 13:22:21 patrick Exp $ */
+/* $OpenBSD: if_uath.c,v 1.86 2020/12/12 11:48:54 jan Exp $ */
/*-
* Copyright (c) 2006
@@ -587,7 +587,7 @@ uath_alloc_rx_data_list(struct uath_softc *sc)
error = ENOMEM;
goto fail;
}
- MCLGETI(data->m, M_DONTWAIT, NULL, sc->rxbufsz);
+ MCLGETL(data->m, M_DONTWAIT, sc->rxbufsz);
if (!(data->m->m_flags & M_EXT)) {
printf("%s: could not allocate rx mbuf cluster\n",
sc->sc_dev.dv_xname);
@@ -1201,7 +1201,7 @@ uath_data_rxeof(struct usbd_xfer *xfer, void *priv,
ifp->if_ierrors++;
goto skip;
}
- MCLGETI(mnew, M_DONTWAIT, NULL, sc->rxbufsz);
+ MCLGETL(mnew, M_DONTWAIT, sc->rxbufsz);
if (!(mnew->m_flags & M_EXT)) {
printf("%s: could not allocate rx mbuf cluster\n",
sc->sc_dev.dv_xname);