Spdk/module/sock
Richael Zhuang 3ee923eff1 uring: fix heap-use-after-free bug in sock_flush_client
If the req's cb_fn will close the socket, there is heap-use-after-free
error if continuing to access sock.

Signed-off-by: Richael Zhuang <richael.zhuang@arm.com>
Change-Id: I88c6adb9d25e52d94b08f53e8ccac611c4d29fff
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11855
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
2022-03-11 08:04:59 +00:00
..
posix so_ver: increase all major versions 2022-01-31 15:29:56 +00:00
uring uring: fix heap-use-after-free bug in sock_flush_client 2022-03-11 08:04:59 +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