+1
−4
+6
−0
Loading
Previously iscsi_del_transfer_task() dequeued the task only from the array conn->outstanding_r2t_tasks[]. process_non_read_task_completion() had dequeued the task from the tailq conn->active_r2t_tasks then. However abort_transfer_task_in_task_mgmt_resp had not dequeued the task from the tailq conn->active_r2t_tasks then. This was an apparent bug, and is fixed here. Update unit tests accordingly. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I93f02b2fb670dcee4c32d61c264e3ad5b4f9f43e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3108 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>