+14
−30
Loading
In iscsi_conn_flush_pdus(), call iscsi_conn_flush_pdus_internal() only when the connection state is RUNNING or INVALID. Besides, we can remove the iscsi_conn_flush_pdus() call from iscsi_conn_sock_cb() because the connection state is already EXITING. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I9e1029ffa555e5e43aade53f61e942e98343006d Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/469801 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>