rum: use m_get2() in Rx path.
This commit is contained in:
parent
b7c8904780
commit
93ae47478c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=305473
@ -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 New Issue
Block a user