svn commit: r305473 - head/sys/dev/usb/wlan
Andriy Voskoboinyk
avos at FreeBSD.org
Tue Sep 6 12:00:17 UTC 2016
Author: avos
Date: Tue Sep 6 12:00:16 2016
New Revision: 305473
URL: https://svnweb.freebsd.org/changeset/base/305473
Log:
rum: use m_get2() in Rx path.
Modified:
head/sys/dev/usb/wlan/if_rum.c
Modified: head/sys/dev/usb/wlan/if_rum.c
==============================================================================
--- head/sys/dev/usb/wlan/if_rum.c Tue Sep 6 11:08:32 2016 (r305472)
+++ head/sys/dev/usb/wlan/if_rum.c Tue Sep 6 12:00:16 2016 (r305473)
@@ -1205,7 +1205,7 @@ rum_bulk_read_callback(struct usb_xfer *
goto tr_setup;
}
- m = m_getcl(M_NOWAIT, MT_DATA, M_PKTHDR);
+ m = m_get2(len, M_NOWAIT, MT_DATA, M_PKTHDR);
if (m == NULL) {
DPRINTF("could not allocate mbuf\n");
counter_u64_add(ic->ic_ierrors, 1);
More information about the svn-src-all
mailing list