summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2006-04-08 05:08:17 +0000
committerscottl <scottl@FreeBSD.org>2006-04-08 05:08:17 +0000
commit3ab858c37405e48fee72bbee618f40b7c41b214d (patch)
tree89131839dd52d34fe198dcc50d299e65fa7a575d /lib/libthr/thread
parente8f84ee984b6589b7998e049b88f34d034eb7049 (diff)
downloadFreeBSD-src-3ab858c37405e48fee72bbee618f40b7c41b214d.zip
FreeBSD-src-3ab858c37405e48fee72bbee618f40b7c41b214d.tar.gz
After further review and discussion, partially revert the previous commit.
The real problem was that ioctl handlers needed to call amr_wait_command() with the list lock held. This not only solves the completion race, it also prevents bounce buffer corruption that could arise from amr_start() being called without the proper locks held. Discussed with: ps MFC After: 3 days
Diffstat (limited to 'lib/libthr/thread')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud