diff options
author | hselasky <hselasky@FreeBSD.org> | 2014-03-27 06:59:56 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2014-03-27 06:59:56 +0000 |
commit | 5d4dbd39e385c96979daf137b2a7851287002c42 (patch) | |
tree | 1ecf3aaf2a06c2128c4f1ebc9ac55083e138ea09 /tests | |
parent | 609200cd258f7cda640616b44ce2c91d80301f17 (diff) | |
download | FreeBSD-src-5d4dbd39e385c96979daf137b2a7851287002c42.zip FreeBSD-src-5d4dbd39e385c96979daf137b2a7851287002c42.tar.gz |
MFC r263423:
Try to resolve a possible deadlock when detaching USB devices which
create character devices. The deadlock can happen if an application is
issuing IOCTLs which require USB refcounting, at the same time the USB
device is detaching.
There is already a counter in place in the USB device structure to
detect this situation, but it was not always checked ahead of invoking
functions that might destroy character devices, like detach, set
configuration, set alternate interface or detach active kernel driver.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions