From 1d293776ea290ae1f4d1228f3278030facf97a4b Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 1 Mar 2012 16:26:38 +0000 Subject: [iscsi] Send any padding inline with the data segment Some iSCSI targets respond to a PDU before receiving the padding bytes. If the target responds quickly enough, this can cause iPXE to start processing a new TX PDU before the padding bytes have been sent, which results in a protocol violation. Fix by always transmitting the padding bytes along with the data segment. Originally-fixed-by: Shyam Iyer Signed-off-by: Michael Brown --- src/include/ipxe/iscsi.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/include/ipxe/iscsi.h') diff --git a/src/include/ipxe/iscsi.h b/src/include/ipxe/iscsi.h index 5d3d73b0c..b4de793a4 100644 --- a/src/include/ipxe/iscsi.h +++ b/src/include/ipxe/iscsi.h @@ -515,8 +515,6 @@ enum iscsi_tx_state { ISCSI_TX_AHS, /** Sending the data segment */ ISCSI_TX_DATA, - /** Sending the data segment padding */ - ISCSI_TX_DATA_PADDING, }; /** State of an iSCSI RX engine */ -- cgit