Accessing usb_xfer_queue requires bus lock, we added this missing lock in here to prevent racing issue.
Details
Details
- Reviewers
adrian - Group Reviewers
USB - Commits
- rGdf5e9e3da5b9: usb: Add missing mtx lock and unlock in pushing dma queue
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
nice catch! Why's this not panicing though? I thought I saw a lock assertion in usb_command_wrapper() ?
Comment Actions
We don't have that now. This is found when I am trying to do so (do lock assertion in usb_command_wrapper).