numam-spdk/lib
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
..
accel accel: add API to cancel a batch sequence 2020-07-27 22:43:40 +00:00
bdev lib/bdev: fix potential mem leak in part.c 2020-08-04 16:56:42 +00:00
blob blob: Add a bitmask for quickly checking which blobs are open 2020-07-07 07:30:58 +00:00
blobfs lib: add checks for return code of pthread_spin_init 2020-07-23 07:25:21 +00:00
conf lib/conf: allow multiple sections with same name 2020-07-22 12:24:08 +00:00
env_dpdk env: Rename pci_device_rte_hotremove to pci_device_rte_dev_event 2020-07-30 08:43:06 +00:00
env_ocf lib/ocf_env: fix incorrect value for free memory estimate 2020-04-29 06:42:33 +00:00
event json_config: fix static analyzer false-positive 2020-08-04 16:57:08 +00:00
ftl lib: add checks for return code of pthread_spin_init 2020-07-23 07:25:21 +00:00
idxd accel: add API to cancel a batch sequence 2020-07-27 22:43:40 +00:00
ioat lib/ioat: Update the major SO version for libspdk_ioat.so 2020-07-24 07:25:47 +00:00
iscsi lib/iscsi: Inform initiator that target has temporary moved to a different address 2020-08-11 08:27:43 +00:00
json lib: json-nbd remove spdk prefix from static functions. 2020-05-21 09:19:00 +00:00
jsonrpc lib: add checks for return code of pthread_spin_init 2020-07-23 07:25:21 +00:00
log lib/log: add a check for localtime() failure 2020-07-15 07:09:19 +00:00
log_rpc lib: json-nbd remove spdk prefix from static functions. 2020-05-21 09:19:00 +00:00
lvol all: Fix warnings found by gcc 9.3.0 and 9.3.1 2020-06-02 09:51:57 +00:00
nbd nbd: Add the O_DIRECT flag when opening the file. 2020-08-06 22:43:20 +00:00
net lib: net, notify, nvme, rocksdb remove spdk_ prefix. 2020-05-21 09:19:00 +00:00
notify lib: net, notify, nvme, rocksdb remove spdk_ prefix. 2020-05-21 09:19:00 +00:00
nvme lib/nvme: add timeout to fabric connect commands. 2020-08-10 11:27:16 +00:00
nvmf lib/nvmf: Fix return type to be alone on a line for _nvmf_ctrlr_destruct() 2020-08-06 23:33:00 +00:00
rdma rdma: Add new API spdk_rdma_qp_accept 2020-06-18 07:28:04 +00:00
reduce mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
rocksdb rocksdb: Update rocksdb code to work with spdk/rocksdb branch spdk-v6.10.2 2020-08-10 11:27:32 +00:00
rpc RPC: update the error message for current RPC state 2020-07-31 08:21:37 +00:00
rte_vhost read_fd_message: distinguish prints of log message 2020-05-25 09:08:00 +00:00
scsi pollers: Fix pollers to return correct busy status 2020-07-07 07:29:31 +00:00
sock lib/sock: bump SO_VERSION to 4.0 2020-08-10 14:41:16 +00:00
thread thread: add info logs 2020-06-12 15:40:31 +00:00
trace mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
ut_mock mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
util lib/util: remove _spdk prefix from functions. 2020-06-01 13:07:30 +00:00
vhost vhost-blk: add resize bdev support 2020-07-29 08:05:31 +00:00
virtio lib/virtio: fix heap use after free issue. 2020-08-04 16:56:42 +00:00
vmd env_dpdk/pci: remove device detach callback 2020-07-23 20:48:47 +00:00
Makefile rdma: Intorduce RDMA providers 2020-05-20 12:03:50 +00:00