Spdk/module/sock
Ben Walker e351b19055 sock/posix: Fix sendmsg_idx rollover for zcopy
If the idx gets to UINT32_MAX we need to ensure it doesn't wrap around
before we check if we're done iterating.

Fixes #2892

Change-Id: I2c57ed2a6f6eda16e2d1faa63e587dca0b380a17
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17687
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
2023-04-24 09:00:35 +00:00
..
posix sock/posix: Fix sendmsg_idx rollover for zcopy 2023-04-24 09:00:35 +00:00
uring sock: Do aligned allocations for the pipes 2023-04-06 20:20:19 +00:00
Makefile update Intel copyright notices 2022-11-10 08:28:53 +00:00
sock_kernel.h update Intel copyright notices 2022-11-10 08:28:53 +00:00