When the TEST UNIT READY command receives an error response, the shutdown of the command's block data interface will result in scsidev_ready() closing the SCSI device. This will subsequently result in a duplicate call to scsicmd_close(), leading to an assertion failure when list_del() is called for the second time. Fix by removing the command from the list of outstanding commands before shutting down the command's interfaces. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
392 |
|
392 |
|
393 |
|
393 |
|
394 |
|
394 |
|
|
395 |
|
|
|
396 |
|
|
|
397 |
|
|
395 |
|
398 |
|
396 |
|
399 |
|
397 |
|
400 |
|
398 |
|
|
|
399 |
|
|
|
|
401 |
|
|
400 |
|
402 |
|
401 |
|
403 |
|
402 |
|
404 |
|