numam-spdk/lib
Shuhei Matsumoto 92a6988676 iscsi: delete global PG tag check from SendTargets
In the Appendix C. SendTargets Operation in the iSCSI Specification
(RFC7143), there is the following description:

  In a Discovery session, a target MUST return all path information
  (IP address-port pairs and Target Portal Group Tags) for the
  targets on the target Network Entity that the requesting
  initiator is authorized to access.

However no description such that Target Portal Group Tag is used
to check authorization of the requesting initiator.

Moreover, according to the iSCSI Specification (RFC7143),
Target Portal Group Tag is unique within an iSCSI Target Node.

  Tarrget Portal Group Tag identifies a portal group within an
  iSCSI node.

However, current SPDK uses Target Portal Group Tag to check
authorization of the requesting initiator by mistake. This
implementation does not have any compatibility with other storage.

Hence delete the code related with Target Portal Group Tag from
SendTargets function.

Change-Id: If4b79f0d8fe8f5892a798e4f6716045fd18cf0a4
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/383660
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
2017-11-14 15:44:40 -05:00
..
bdev bdev: Fix bug where cpl on finish is called early 2017-11-14 15:08:56 -05:00
blob blob: handle the case that channel is not created 2017-11-14 15:43:08 -05:00
blobfs blobfs: fix bstype debug prints 2017-10-17 16:26:02 -04:00
conf log: Use SPDK_ERRLOG in lieu of fprintf(stderr 2017-05-09 11:28:28 -07:00
copy env: return fd from spdk_pci_device_claim() 2017-11-03 18:48:33 -04:00
cunit include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
env_dpdk env: return fd from spdk_pci_device_claim() 2017-11-03 18:48:33 -04:00
event event: Allow spdk_subsystem_fini_next to be called from any core 2017-11-14 15:08:56 -05:00
ioat copy: return 0 on success and appropriate errno on failure 2017-09-25 13:56:29 -04:00
iscsi iscsi: delete global PG tag check from SendTargets 2017-11-14 15:44:40 -05:00
json json: add function to write UTF-16LE strings 2017-07-12 18:12:52 -04:00
jsonrpc log: rename SPDK_TRACELOG to SPDK_DEBUGLOG 2017-08-29 13:25:58 -04:00
log log: change spdk_trace_dump() to take a void * 2017-10-17 16:26:02 -04:00
lvol lvol: show total accessible clusters in lvol store 2017-11-10 17:24:31 -05:00
nbd nbd: do not free spdk_nbd_disk with io outstanding 2017-11-10 17:00:58 -05:00
net net&iscsi: force overwrite "*" and "[*]" by wildcard 2017-11-14 15:44:40 -05:00
nvme nvme: add actual shutdown time to log message 2017-11-14 10:54:04 -05:00
nvmf nvmf: move poll groups to public API 2017-11-09 12:51:18 -05:00
rocksdb rpc: remove rpc subsystem 2017-11-10 17:00:58 -05:00
rpc rpc: add default UNIX domain socket listen address 2017-11-13 14:57:49 -05:00
scsi scsi: use scsi_spec.h enums for VPD page numbers 2017-10-29 12:12:47 -04:00
trace lib: replace strerror with strerror_r 2017-08-15 16:47:01 -04:00
ut_mock test/mock: add pthread_self 2017-09-19 17:15:15 -04:00
util blob: defer calling unload callback until dev is destroyed 2017-09-26 19:10:28 -04:00
vhost rte_vhost: mantain separate virtio features field in virtio_net 2017-11-14 15:39:49 -05:00
Makefile lvol: Logical volume implementation 2017-09-14 19:30:54 -04:00