+20
−2
Loading
When a target is created by iSCSI.conf, only valid CHAP params are passed to spdk_iscsi_tgt_node_construct(). When a target is created by JSON-RPC, help information encourages users to specify valid CHAP params but spdk_iscsi_tgt_node_construct() does not check CHAP params and users can create targets whose CHAP params are invalid. Change-Id: I7e9057a982f21f04782481cda74208a139c1fdad Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/394481 Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>