+2
−1
Loading
In nvmf_rdma_requst_fill_iovs_multi_sgl(), length of descriptors are accumulated into req->length. However, req->length was not cleared when nvmf_rdma_fill_buffers() fails in the middle. This patch fixes it. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I80a55d90d09c8af46d570e017d342afd69f41996 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/469199 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:
Alexey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Seth Howell <seth.howell@intel.com> Reviewed-by:
Paul Luse <paul.e.luse@intel.com>