+1
−1
+2
−2
+1
−1
Loading
We only check the sc in nvmf read path and not the sct. This can cause problems in cases where we use a custom sct but the sc is same as SPDK_NVME_SC_SUCCESS, i.e. 0. E.g. if you keep sct as SPDK_NVME_SCT_PATH and sc as SPDK_NVME_SC_INTERNAL_PATH_ERROR (0), the current code will interpret sc as success and send garbage data. Change-Id: Idc4ba870cb74f78e30cc111ed358b903c20615b9 Signed-off-by:Abhineet Pandey <abhineet.pandey@nutanix.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26520 Reviewed-by:
Jacek Kalwas <jacek.kalwas@nutanix.com> Tested-by:
SPDK Automated Test System <spdkbot@gmail.com> Reviewed-by:
Ben Walker <ben@nvidia.com> Reviewed-by:
Changpeng Liu <changpeliu@tencent.com> Community-CI: Mellanox Build Bot