Lock down Giant in the usb_task_thread() kthread.
This commit is contained in:
parent
24d66592ac
commit
f019bd5b7c
@ -425,6 +425,10 @@ usb_task_thread(void *arg)
|
||||
struct usb_task *task;
|
||||
int s;
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
mtx_lock(&Giant);
|
||||
#endif
|
||||
|
||||
DPRINTF(("usb_task_thread: start\n"));
|
||||
|
||||
s = splusb();
|
||||
|
Loading…
Reference in New Issue
Block a user