mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
rum: use m_get2() in Rx path.
This commit is contained in:
parent
b7c8904780
commit
93ae47478c
1 changed files with 1 additions and 1 deletions
|
|
@ -1205,7 +1205,7 @@ rum_bulk_read_callback(struct usb_xfer *xfer, usb_error_t error)
|
|||
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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue