May be required in some disconnect scenarios
This commit is contained in:
parent
4075f7596b
commit
b3e44a24b1
@ -142,6 +142,7 @@ static void iscsi_close_connection ( struct iscsi_session *iscsi, int rc ) {
|
|||||||
/* Reset TX and RX state machines */
|
/* Reset TX and RX state machines */
|
||||||
iscsi->tx_state = ISCSI_TX_IDLE;
|
iscsi->tx_state = ISCSI_TX_IDLE;
|
||||||
iscsi->rx_state = ISCSI_RX_BHS;
|
iscsi->rx_state = ISCSI_RX_BHS;
|
||||||
|
iscsi->rx_offset = 0;
|
||||||
|
|
||||||
/* Free any temporary dynamically allocated memory */
|
/* Free any temporary dynamically allocated memory */
|
||||||
chap_finish ( &iscsi->chap );
|
chap_finish ( &iscsi->chap );
|
||||||
|
Reference in New Issue
Block a user