Loading
nvme/tcp: Move assert to the correct location in nvme_tcp_build_iovs
When the iovec array becomes full in the middle of the data segment, plen may not be equal to pdu->hdr.common.plen because data digest is not included. This doesn't cause any error in release mode but fix this for debug mode. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Ife5900b3075c35dfe3890fa1d9f99a6935d40a9f Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/458540 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ziye Yang <ziye.yang@intel.com> Reviewed-by:
Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by:
Paul Luse <paul.e.luse@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com>