mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-15 15:51:44 +00:00
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.)
This commit is contained in:
parent
6ea07b9247
commit
aaca21a2b6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user