Spdk/test/unit/lib/iscsi
Shuhei Matsumoto 420b2353ea lib/iscsi: Inform initiator that target has temporary moved to a different address
If the portal group map of the target has a redirect portal,
iscsi_tgt_node_is_moved() fills the buffer by the redirected address
and returns true.

iscsi_op_login_check_target() calls iscsi_tgt_node_is_redirected() before
calling iscsi_tgt_node_access() because login redirection can be
checked before any or after all security check.

If iscsi_tgt_node_is_redirected() returns true, notify login redirection
to the corresponding initiator.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I4573a69c0a32eafcfe48080a033c135e127da321
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3221
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2020-08-11 08:27:43 +00:00
..
conn.c lib/iscsi: Fix iscsi_del_transfer_task deletes from both array and tailq 2020-07-13 08:39:50 +00:00
init_grp.c lib/iscsi: Remove the "spdk_" prefix from internal APIs declared in init_grp.h 2020-04-20 07:38:29 +00:00
iscsi.c lib/iscsi: Inform initiator that target has temporary moved to a different address 2020-08-11 08:27:43 +00:00
param.c lib/iscsi: Remove the "spdk_" prefix from internal APIs declared in tgt_node.h 2020-04-20 07:38:29 +00:00
portal_grp.c lib/iscsi: Create portal group as public or private portal group 2020-08-11 08:27:43 +00:00
tgt_node.c lib/iscsi: Remove the "spdk_" prefix from internal APIs declared in portal_grp.h 2020-04-20 07:38:29 +00:00
common.c lib/iscsi: Add pg_tag to the 2nd parameter of iscsi_conns_request_logout() 2020-08-07 15:06:34 +00:00
Makefile iscsi&iscsi/ut: Unify cpumask decode between iSCSI.conf and JSON-RPC 2018-01-19 15:47:57 -05:00