Loading
sock: align sendmsg_idx base with the kernel
By initializing to UINT32_MAX we can have the same base for sock->sendmsg_idx, req->internal.offset (when used to cache the sendmsg index) and the kernel UAPI, i.e. first sendmsg has index=0. Signed-off-by:Maciej Szulik <maciej.szulik@intel.com> Change-Id: I2c9e48d7d47acad2ad59a536b4ce4eb5cf0ca294 Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/25659 Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by:
Jacek Kalwas <jacek.kalwas@nutanix.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK Automated Test System <spdkbot@gmail.com>