opengnsys_ipxe/src/drivers
Michael Brown 6bc4a8ac91 [scsi] Avoid duplicate call to scsicmd_close() on TEST UNIT READY failure
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>
2017-03-26 11:29:18 +03:00
..
bitbash [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
block [scsi] Avoid duplicate call to scsicmd_close() on TEST UNIT READY failure 2017-03-26 11:29:18 +03:00
bus [usb] Use correct length for memcpy() 2017-03-22 14:14:57 +02:00
infiniband [golan] Bug fixes and improved paging allocation method 2017-03-23 16:03:40 +02:00
linux [af_packet] Add new AF_PACKET driver for Linux 2017-01-22 14:02:54 +00:00
net [vxge] Fix use of stale I/O buffer on error path 2017-03-23 21:10:25 +02:00
nvs [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
usb [xhci] Avoid accessing beyond end of endpoint context array 2017-03-21 16:22:42 +02:00