summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Brown2007-01-09 05:42:23 +0100
committerMichael Brown2007-01-09 05:42:23 +0100
commitaaca21a2b622f29e32dc29d0b1f56be8fa79f568 (patch)
treec6dfdaec93fe3bbed5cbbb9c735aec73838e1716 /src
parentUse debug auto-colourisation. (diff)
downloadipxe-aaca21a2b622f29e32dc29d0b1f56be8fa79f568.tar.gz
ipxe-aaca21a2b622f29e32dc29d0b1f56be8fa79f568.tar.xz
ipxe-aaca21a2b622f29e32dc29d0b1f56be8fa79f568.zip
We can't assert that the RX engine is idle in iscsi_done(), because it
may be called during the RX data processor, before the RX engine transitions back to idle. It doesn't really matter if the RX engine isn't idle when iscsi_done() is called, because it will just pick up where it left off on the next call. (The same is not true for the TX engine, so keep the TX engine assertion.)
Diffstat (limited to 'src')
-rw-r--r--src/net/tcp/iscsi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/net/tcp/iscsi.c b/src/net/tcp/iscsi.c
index afd968488..ae23cfe8e 100644
--- a/src/net/tcp/iscsi.c
+++ b/src/net/tcp/iscsi.c
@@ -116,8 +116,6 @@ static void iscsi_close ( struct iscsi_session *iscsi ) {
static void iscsi_done ( struct iscsi_session *iscsi, int rc ) {
assert ( iscsi->tx_state == ISCSI_TX_IDLE );
- assert ( iscsi->rx_state == ISCSI_RX_BHS );
- assert ( iscsi->rx_offset == 0 );
/* Clear current SCSI command */
iscsi->command = NULL;