diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-11-02 03:27:40 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-11-02 03:27:40 +0000 |
commit | 763f76086b33729f4b6a236a2f3c1fcfb75a4486 (patch) | |
tree | dca9df1838d6489b09f85551c654a0f22c571ba6 /usr.bin | |
parent | 638d9e85ae9458647ad0e76f8d0e2051a2fbea14 (diff) |
It is invalid to scsi_done(xs) and then return TRY_AGAIN_LATER.
scsi_done() can release the scsi_request xs and TRY_AGAIN_LATER will
refer to it and submit it for re-execution. This was being done only
if bus_dmamap_load() failed.
Ensure the controller resources are freed before returning
TRY_AGAIN_LATER, since new resources will be allocated when the
command is executed again.
Don't bother setting xs->error before returning TRY_AGAIN_LATER as the
code returned to sets xs->error to XS_BUSY.
ok marco@
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions