diff options
author | scottl <scottl@FreeBSD.org> | 2006-04-08 05:08:17 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2006-04-08 05:08:17 +0000 |
commit | 3ab858c37405e48fee72bbee618f40b7c41b214d (patch) | |
tree | 89131839dd52d34fe198dcc50d299e65fa7a575d /lib/libthr/thread | |
parent | e8f84ee984b6589b7998e049b88f34d034eb7049 (diff) | |
download | FreeBSD-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