fed2667127
spdk_iscsi_tgt_node_access() (in lib/iscsi/tgt_node.c) regards empty netmask of IG as ALL (allow all initiator's IP address). However any user cannot create IG whose netmask is empty by both JSON-RPC and config file. Instead user can create IG whose netmask is ALL. The code to regard empty netmask of IG as ALL never run in production. Hence delete the code and add UT to confirm the fix. Change-Id: Ib7206d0986db9093cfb6b36191be26293ff6c67a Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/382920 Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ziye Yang <optimistyzy@gmail.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
iscsi.c | ||
param.c | ||
tgt_node.c | ||
common.c | ||
Makefile |