Module Name: src
Committed By: mlelstv
Date: Sun Nov 10 11:52:32 UTC 2024
Modified Files:
src/sys/dev/usb: if_urtwn.c
Log Message:
Add MBUFTRACE
To generate a diff of this commit:
cvs rdiff -u -r1.109 -r1.110 src/sys/dev/usb/if_urtwn.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/usb/if_urtwn.c
diff -u src/sys/dev/usb/if_urtwn.c:1.109 src/sys/dev/usb/if_urtwn.c:1.110
--- src/sys/dev/usb/if_urtwn.c:1.109 Wed Feb 28 20:18:13 2024
+++ src/sys/dev/usb/if_urtwn.c Sun Nov 10 11:52:32 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: if_urtwn.c,v 1.109 2024/02/28 20:18:13 riastradh Exp $ */
+/* $NetBSD: if_urtwn.c,v 1.110 2024/11/10 11:52:32 mlelstv Exp $ */
/* $OpenBSD: if_urtwn.c,v 1.42 2015/02/10 23:25:46 mpi Exp $ */
/*-
@@ -25,7 +25,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_urtwn.c,v 1.109 2024/02/28 20:18:13 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_urtwn.c,v 1.110 2024/11/10 11:52:32 mlelstv Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -2482,6 +2482,7 @@ urtwn_rx_frame(struct urtwn_softc *sc, u
if_statinc(ifp, if_ierrors);
return;
}
+ MCLAIM(m, &sc->sc_ec.ec_rx_mowner);
if (pktlen > (int)MHLEN) {
MCLGET(m, M_DONTWAIT);
if (__predict_false(!(m->m_flags & M_EXT))) {