+3
−3
+1
−0
+2
−3
Loading
The connection state is mainly for flushing PDUs. ISCSI_CONN_STATE_LOGGED_OUT was as same as ISCSI_CONN_STATE_RUNNING for this point. Replace ISCSI_CONN_STATE_LOGGED_OUT state by a is_logged_out flag and use the latter to reject any incoming PDU after sending logout response. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I3426a3ecbd241db402b1a2f7b3914a18e3591591 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/470703 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com>