8f3fa385b7
The subsequent patches will separate PDU header handling and PDU payload handling. But for the PDUs which have data segment, if PDU header is correct, we have to read data segment even if any other error is found and the PDU is rejected. To do that, add a flag is_rejected to pass if the PDU is rejected or not from PDU header handling to PDU payload handling. If PDU payload handling sees the PDU is already relected, do nothing. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Ie3fe518fc0f452da9965a2fe3642568c86866480 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/471005 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
conn.c | ||
conn.h | ||
init_grp.c | ||
init_grp.h | ||
iscsi_rpc.c | ||
iscsi_subsystem.c | ||
iscsi.c | ||
iscsi.h | ||
Makefile | ||
md5.c | ||
md5.h | ||
param.c | ||
param.h | ||
portal_grp.c | ||
portal_grp.h | ||
task.c | ||
task.h | ||
tgt_node.c | ||
tgt_node.h |