beefcd1ae5
This bug was found by code inspection. When PDU read restarts after data segment, iov_offset must be reduced by data length. However iov_offset had been reduced by buffer length by mistake. Lack of UT code was the main reason of this bug. Hence add UT code to test the fix of the bug together in this patch. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I74f2f6ae8dca2e78a64bfdef8080c8031dfabb87 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/458530 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@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 |