Spdk/lib/iscsi
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
..
acceptor.c iscsi: login poller per portal and portal cache 2017-10-06 17:00:45 -04:00
acceptor.h iscsi: login poller per portal and portal cache 2017-10-06 17:00:45 -04:00
conn.c iscsi: shutdown iscsi library as part of subsystem fini path 2017-11-13 14:57:49 -05:00
conn.h iscsi: login poller per portal and portal cache 2017-10-06 17:00:45 -04:00
init_grp.c iscsi: turn <add/delete name&mask of IG> into functions 2017-11-03 14:08:47 -04:00
init_grp.h iscsi: delete spdk_iscsi_init_grp_destroy_by_tag() 2017-11-03 14:08:47 -04:00
iscsi_rpc.c iscsi: turn <add/delete name&mask of IG> into functions 2017-11-03 14:08:47 -04:00
iscsi_subsystem.c iscsi: cleanup iscsi_subsystem.c 2017-11-13 14:58:34 -05:00
iscsi.c iscsi: shutdown iscsi library as part of subsystem fini path 2017-11-13 14:57:49 -05:00
iscsi.h iscsi: shutdown iscsi library as part of subsystem fini path 2017-11-13 14:57:49 -05:00
Makefile util: add CRC32 utility functions 2017-08-02 19:47:35 -04:00
md5.c include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
md5.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
param.c iscsi: remove global data members for non-configurable parameters 2017-11-03 12:18:02 -04:00
param.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
portal_grp.c net&iscsi: force overwrite "*" and "[*]" by wildcard 2017-11-14 15:44:40 -05:00
portal_grp.h iscsi: login poller per portal and portal cache 2017-10-06 17:00:45 -04:00
task.c scsi: Remove cb_event. It is no longer necessary. 2017-06-22 10:47:31 -04:00
task.h iscsi: change iscsi_bhs_scsi_req variable names. 2017-07-18 13:14:16 -04:00
tgt_node.c iscsi: delete global PG tag check from SendTargets 2017-11-14 15:44:40 -05:00
tgt_node.h iscsi: delete spdk_iscsi_find_init_grp() function. 2017-10-16 19:27:35 -04:00