SOCKET queue cmd PDUs directly in waitpdu queue
A storage might sent an R2T response for a WRITE command while we still sending out the WRITE command PDU. This is especially the case when the command PDU carries immediata data. Without this patch the R2T response will get lost as the cmdpdu for the R2T cannot be found in iscsi_process_pdu() leading to a deadlock. Signed-off-by: Peter Lieven <pl@kamp.de>
This commit is contained in:
@@ -103,6 +103,7 @@ struct iscsi_context {
|
||||
void *connect_data;
|
||||
|
||||
struct iscsi_pdu *outqueue;
|
||||
struct iscsi_pdu *outqueue_current;
|
||||
struct iscsi_pdu *waitpdu;
|
||||
|
||||
struct iscsi_in_pdu *incoming;
|
||||
|
||||
Reference in New Issue
Block a user