diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2010-07-24 11:53:45 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2010-07-24 11:53:45 +0000 |
commit | 92924be1ea23e4fe14111cb5a3a44bfae761fd77 (patch) | |
tree | 6678fa2f7762c62fd80bc5ef66501093098d4bbd /sys/arch/alpha | |
parent | b106570a681dfa3fb9d8bea14f3bd534ef682fde (diff) |
fix another race. vscsi_cmd checked if the adapter was running at
the start and queued the command for processing by userland later.
the adapter could stop running between the check and the queue.
this merges the state and queue mutexes and combines the check and
queue ops in vscsi_cmd into the same critical section.
tweaked by and ok matthew@
Diffstat (limited to 'sys/arch/alpha')
0 files changed, 0 insertions, 0 deletions