+6
−0
Loading
Previously, we fixed a similar bug that iSCSI target got seg. fault if connection is being exited between spdk_iscsi_conn_write_pdu() and its callback iscsi_conn_login_pdu_success_complete() are executed. This fix was not sufficient and we still saw similar error. Not only socket write but also SPDK message is asynchronous and connection may start exiting between iscsi_conn_schedule() and iscsi_conn_full_feature_migrate(). This patch fix this new issue. The previous fix was https://review.spdk.io/gerrit/c/spdk/spdk/+/1275 Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I5cc422529a335e5f1982693bdf910ac7debe6f17 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3074 Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>