summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/rtld.c
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2015-02-05 21:18:44 +0000
committerhselasky <hselasky@FreeBSD.org>2015-02-05 21:18:44 +0000
commit88f22084bdec2071b028e365d0c658f03ba5baed (patch)
treedb0467b88df61f30c98156ce748983a28d13fe78 /libexec/rtld-elf/rtld.c
parent1b3da1fcaef99bb904c140b8f841bef2f3e2fbfc (diff)
downloadFreeBSD-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 'libexec/rtld-elf/rtld.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud