Properly reset session state when using proxy and fail_on_disconnection=1.
Without it the reconnection would fail due to mismatched sequence numbers. MFC after: 1 month Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
7deb68ab2c
commit
a3fd63f223
@ -1552,6 +1552,10 @@ iscsi_ioctl_daemon_connect(struct iscsi_softc *sc,
|
||||
}
|
||||
|
||||
ISCSI_SESSION_LOCK(is);
|
||||
is->is_statsn = 0;
|
||||
is->is_cmdsn = 0;
|
||||
is->is_expcmdsn = 0;
|
||||
is->is_maxcmdsn = 0;
|
||||
is->is_waiting_for_iscsid = false;
|
||||
is->is_login_phase = true;
|
||||
is->is_timeout = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user