LUN ID is not converted from integer to structure and integer is set to R2T PDUs. Popular iSCSI initiators don't check this value and work correctly. This patch uses the public helper function of the SCSI library to fix the issue. Additionally, private helper function to convert structure to integer for LUN ID is replaced to the public helper function of the SCSI library. Change-Id: I9218c5ef7a8bfec43326c6584db7c6929fdd11a8 Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/449963 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> |
||
---|---|---|
.. | ||
.gitignore | ||
iscsi_ut.c | ||
Makefile |