+9
−4
Loading
the mobj is allocating from pdu_data_out_pool, if pdu_data_out_pool is exhausted, when the pdu is polled next time, because data_buf_len is modified, iscsi_pdu_payload_read return -1, and the connection will be released. Signed-off-by:lizengwu <786436671@qq.com> Change-Id: I3ee65472f7ddaa357d7952a5b734540f0bc0b216 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15626 Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>