+5
−2
+1
−0
+1
−0
Loading
Reason: If the task is queued in scsi layer to handle, we should free the task after calling the spdk_iscsi_task_cpl. Otherwise, if only this task is executed (without subread tasks), the task will be freed by the loop early, which will cause the segment fault in spdk_iscsi_task_cpl function. Change-Id: Ifc42399957b24d976af5fd12f6e33459a3ea86ba Signed-off-by:Ziye Yang <ziye.yang@intel.com> Reviewed-on: https://review.gerrithub.io/421706 Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>