numam-spdk/module/sock
Konrad Sztyber c7d1c506ef sock/uring: reorder task cancellations in remove_sock
When removing a socket from a sock_group, the recv_task should be
cancelled last, because it can be sent out while cancelling other tasks
(if POLLERR is received).  Otherwise, we could end up with outstanding
recv requests from a socket removed from a group.

Fixes #2112.

Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Change-Id: Ic8e24c210541390dd8bdffe8d3bc4e7dd746d4b7
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9239
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Ziye Yang <ziye.yang@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2021-08-23 08:49:01 +00:00
..
posix uring: Not enable zero copy if fd is opened on a loopback device. 2021-08-13 07:14:38 +00:00
uring sock/uring: reorder task cancellations in remove_sock 2021-08-23 08:49:01 +00:00
Makefile sock/vpp: remove VPP implementation 2020-08-17 08:19:46 +00:00
sock_kernel.h uring: Not enable zero copy if fd is opened on a loopback device. 2021-08-13 07:14:38 +00:00