Page MenuHomeFreeBSD

D57293.id178797.diff
No OneTemporary

D57293.id178797.diff

diff --git a/sys/dev/usb/usb_transfer.c b/sys/dev/usb/usb_transfer.c
--- a/sys/dev/usb/usb_transfer.c
+++ b/sys/dev/usb/usb_transfer.c
@@ -1889,8 +1889,10 @@
*/
#if USB_HAVE_BUSDMA
if (xfer->flags_int.bdma_enable) {
+ USB_BUS_LOCK(bus);
/* insert the USB transfer last in the BUS-DMA queue */
usb_command_wrapper(&xfer->xroot->dma_q, xfer);
+ USB_BUS_UNLOCK(bus);
return;
}
#endif

File Metadata

Mime Type
text/plain
Expires
Wed, Jun 24, 2:43 AM (16 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33608041
Default Alt Text
D57293.id178797.diff (402 B)

Event Timeline