diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2014-06-08 20:10:29 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2014-06-08 20:10:29 +0000 |
commit | d64e9217c40746d8e4f8172457226b9abfe11be5 (patch) | |
tree | 6b6fd9094c2096380007cac3ef2c1b6c0201594f /sys/kern/kern_exec.c | |
parent | 3345d73ca8033de27169a478810f39a7a8f161ec (diff) | |
download | src-d64e9217c40746d8e4f8172457226b9abfe11be5.tar.gz src-d64e9217c40746d8e4f8172457226b9abfe11be5.zip |
Resolve a deadlock setting the USB configuration index from userspace
on USB HUBs by moving the code into the USB explore threads. The
deadlock happens because child devices of the USB HUB don't have the
expected reference count when called from outside the explore
thread. Only the HUB device itself, which the IOCTL interface locks,
gets the correct reference count.
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=267240
Diffstat (limited to 'sys/kern/kern_exec.c')
0 files changed, 0 insertions, 0 deletions