Loading
posix: Fix the NULL pointer issue of group.
A single sock connection can call posix_sock_flush, and this sock may not belong to a polling group. So add the check in sock_check_zcopy to avoid such issue. Fixes #1788 Change-Id: Id0a2f80ad0f3cdb7fc736a3be3211e49513751b1 Signed-off-by:Ziye Yang <ziye.yang@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6334 Reviewed-by:
<dongx.yi@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Karol Latecki <karol.latecki@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Paul Luse <paul.e.luse@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot