349b772415
IO trace ISCSI_TASK_EXECUTED was taken after PDU was freed. spdk_trace_record() doesn't dereference the passed pointers and it's fine, but get the trace before PDU is freed to make the coder clearer. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I53a19dbd85e9599c4fa9d7458b5344cff9c76ea2 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/471203 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>