numam-spdk/lib/iscsi
ShadowMov d2b0b15406 lib/iscsi: fix op_logout rsph->response judgement
According to iSCSI 7143 spec 11.15.1 (3720 spec 10.15.1),
Rsph->response should be 0 if connection or session closed successfully.

The current code mistakenly compared cid provided by initiator with
inner conn->id parameter, which does not follow the spec.

Change-Id: I12dbb3471be5d49380c6b65bcdb67c57df11665f
Signed-off-by: ShadowMov <jinnian.hjn@alibaba-inc.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5731
Reviewed-by: Ziye Yang <ziye.yang@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2021-01-05 09:38:23 +00:00
..
conn.c lib/iscsi: unregister login timeout timer in right place 2020-11-25 08:52:27 +00:00
conn.h iscsi: Add the support for long text response. 2020-11-11 00:53:52 +00:00
init_grp.c subsystem/iscsi: remove legacy config support 2020-10-20 08:53:53 +00:00
init_grp.h subsystem/iscsi: remove legacy config support 2020-10-20 08:53:53 +00:00
iscsi_rpc.c lib/iscsi: Add wait parameter to iscsi_create_portal_group RPC 2020-11-24 08:20:37 +00:00
iscsi_subsystem.c lib: Use PRId64 for portability 2020-11-20 11:01:37 +00:00
iscsi.c lib/iscsi: fix op_logout rsph->response judgement 2021-01-05 09:38:23 +00:00
iscsi.h subsystem/iscsi: remove legacy config support 2020-10-20 08:53:53 +00:00
Makefile subsystem/iscsi: remove legacy config support 2020-10-20 08:53:53 +00:00
md5.c lib/iscsi: Remove the "spdk_" prefix from internal APIs declared in md5.h 2020-04-20 07:38:29 +00:00
md5.h lib/iscsi: Remove the "spdk_" prefix from internal APIs declared in md5.h 2020-04-20 07:38:29 +00:00
param.c log: remove internal log.h header 2020-10-15 08:23:39 +00:00
param.h lib/iscsi: Remove the "spdk_" prefix from internal APIs declared in param.h 2020-04-20 07:38:29 +00:00
portal_grp.c lib/iscsi: Add portal_group_resume() and add pause parameter to portal_group_open() 2020-11-24 08:20:37 +00:00
portal_grp.h lib/iscsi: Add portal_group_resume() and add pause parameter to portal_group_open() 2020-11-24 08:20:37 +00:00
spdk_iscsi.map subsystem/iscsi: remove legacy config support 2020-10-20 08:53:53 +00:00
task.c lib/iscsi: Remove the "spdk_" prefix from internal APIs declared in task.h 2020-04-20 07:38:29 +00:00
task.h lib/iscsi: Replace the "spdk_" prefix by "iscsi_" for internal APIs declared in iscsi.h 2020-04-20 07:38:29 +00:00
tgt_node.c iscsi: get the member after the NULL check 2020-12-01 10:21:50 +00:00
tgt_node.h subsystem/iscsi: remove legacy config support 2020-10-20 08:53:53 +00:00