Loading
sock: fix wrap around for zcopy request
Kernel can use the whole range of uint32 to report a completion index. We can miss one by wrapping from UINT32_MAX to 1. Fixes issue #3600. Signed-off-by:Maciej Szulik <maciej.szulik@intel.com> Reported-by: Ariel Marcovitch Change-Id: Ide1bb31ec2d59059adb7564d0b7699a781942301 Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/25650 Reviewed-by:
Jacek Kalwas <jacek.kalwas@nutanix.com> Community-CI: Mellanox Build Bot Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by:
GangCao <gang.cao@intel.com> Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Tested-by:
SPDK Automated Test System <spdkbot@gmail.com> Reviewed-by:
Ben Walker <ben@nvidia.com>