Mark Cave-Ayland
607206948c
esp: ensure that do_cmd is set to zero before submitting an ESP select command
...
When a CDB has been received and is about to be submitted to the SCSI layer
via one of the ESP select commands, ensure that do_cmd is set to zero before
executing the command.
Otherwise a guest executing 2 valid CDBs in quick sequence can invoke the SCSI
.transfer_data callback again before do_cmd is set to zero by the callback
function triggering an assert at the start of esp_transfer_data().
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210407195801.685-12-mark.cave-ayland@ilande.co.uk>
2021-04-12 22:35:53 +01:00
..
2021-03-16 11:41:49 +01:00
2021-04-01 12:19:52 -04:00
2021-03-08 17:20:01 +00:00
2020-12-10 12:15:18 -05:00
2021-04-12 11:06:24 +01:00
2021-03-19 15:18:43 +01:00
2021-03-15 00:39:52 +01:00
2021-04-12 08:55:23 +02:00
2021-04-09 10:52:13 +02:00
2021-04-06 16:04:33 +01:00
2021-04-09 16:05:16 -04:00
2021-03-19 15:18:43 +01:00
2021-03-30 14:05:33 +01:00
2021-03-10 13:57:31 +00:00
2021-01-29 10:47:28 +00:00
2021-01-04 23:24:44 +01:00
2020-12-18 15:20:17 -05:00
2021-03-05 15:17:34 +00:00
2021-03-22 18:58:19 -04:00
2021-03-18 09:22:55 +00:00
2021-01-08 15:13:38 +00:00
2021-03-19 18:01:17 +00:00
2020-09-18 14:12:32 -04:00
2021-01-08 15:13:38 +00:00
2021-04-01 12:19:52 -04:00
2021-03-09 22:37:08 +01:00
2021-03-15 21:03:06 +01:00
2021-03-16 14:30:30 -04:00
2021-03-19 15:18:43 +01:00
2021-03-13 20:29:36 +01:00
2021-03-19 15:18:43 +01:00
2020-12-10 12:15:08 -05:00
2021-04-08 17:33:59 +08:00
2020-12-15 21:24:31 +00:00
2020-08-21 06:30:25 -04:00
2021-03-09 23:13:57 +01:00
2020-12-15 12:04:30 +00:00
2021-04-06 07:11:36 -04:00
2021-01-17 06:42:54 -05:00
2021-03-06 16:18:42 +01:00
2020-08-27 14:04:55 -04:00
2021-04-06 11:49:14 +01:00
2021-03-15 16:41:22 +08:00
2021-02-10 09:23:28 +00:00
2021-03-22 21:54:40 -04:00
2021-03-04 09:43:29 -05:00
2021-03-09 06:03:53 +01:00
2021-04-09 10:52:13 +02:00
2021-04-12 22:35:53 +01:00
2021-03-22 16:56:22 +01:00
2021-03-06 16:19:03 +01:00
2020-12-10 12:15:08 -05:00
2021-03-19 15:18:43 +01:00
2021-03-18 09:22:55 +00:00
2021-03-10 13:54:51 +00:00
2021-03-30 14:05:34 +01:00
2021-02-20 12:36:19 +01:00
2021-03-14 14:41:55 +01:00
2020-08-21 06:30:33 -04:00
2021-03-26 11:10:49 +01:00
2021-03-16 10:06:44 -06:00
2021-04-06 18:56:01 +01:00
2021-03-08 17:20:01 +00:00
2021-02-05 08:52:58 -05:00
2020-08-21 06:30:33 -04:00
2020-12-15 12:51:55 -05:00
2021-03-10 15:34:12 +00:00
2021-03-10 15:34:12 +00:00