diff options
author | hselasky <hselasky@FreeBSD.org> | 2015-02-05 21:18:44 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2015-02-05 21:18:44 +0000 |
commit | 88f22084bdec2071b028e365d0c658f03ba5baed (patch) | |
tree | db0467b88df61f30c98156ce748983a28d13fe78 /contrib/netbsd-tests/lib/libc/stdio/t_scanf.c | |
parent | 1b3da1fcaef99bb904c140b8f841bef2f3e2fbfc (diff) | |
download | FreeBSD-src-88f22084bdec2071b028e365d0c658f03ba5baed.zip FreeBSD-src-88f22084bdec2071b028e365d0c658f03ba5baed.tar.gz |
MFC r277136:
Resolve a special case deadlock: When two or more threads are
simultaneously detaching kernel drivers on the same USB device we can
get stuck in the "usb_wait_pending_ref_locked()" function because the
conditions needed for allowing detach are not met.
While at it ensure that "flag_iserror" is only written when "priv_mtx"
is locked, which is protecting it.
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/stdio/t_scanf.c')
0 files changed, 0 insertions, 0 deletions