numam-spdk/lib/nvmf
Changpeng Liu 2bd41c5187 nvmf/tcp: do cleanup in nvmf_tcp_poll_group_add()
we don't remove the socket fd from socket group when
nvmf_tcp_poll_group_add() return error, and when
closing the socket there is an assertion.

This was found via llvm_nvme_fuzz via TCP transport.

Change-Id: Ib4ab6fc3fc5e2bc6a9545f6ce854bae8f1157fd5
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10849
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2022-01-05 02:39:04 +00:00
..
ctrlr_bdev.c nvmf/ctrlr_bdev: Set DNR bit in status for failed NVMe passthru 2021-12-03 08:13:52 +00:00
ctrlr_discovery.c nvmf: add new 'id' to spdk_nvmf_subsystem_listener 2021-12-20 18:12:41 +00:00
ctrlr.c nvmf: allow to override aer limit by specific transport 2021-12-14 13:18:45 +00:00
fc_ls.c spelling: lib 2021-12-03 08:12:55 +00:00
fc.c nvmf/fc: remove unused variable 2021-12-16 08:43:39 +00:00
Makefile nvmf/ctrlr: let transport can set VID SSVID and IEEE values 2021-12-06 23:17:07 +00:00
nvmf_fc.h spelling: lib 2021-12-03 08:12:55 +00:00
nvmf_internal.h nvmf: add new 'id' to spdk_nvmf_subsystem_listener 2021-12-20 18:12:41 +00:00
nvmf_rpc.c nvmf: fix disconnect logic for remove_listener RPC 2021-12-21 08:15:47 +00:00
nvmf.c nvmf: remove accept poller from generic layer 2021-12-14 13:18:33 +00:00
rdma.c nvmf/rdma: Move definitions of rxe vendor IDs to common rdma.h 2021-12-23 08:44:40 +00:00
spdk_nvmf.map lib/nvmf : Added support for ZCOPY 2021-07-23 08:34:43 +00:00
subsystem.c nvmf: add new 'id' to spdk_nvmf_subsystem_listener 2021-12-20 18:12:41 +00:00
tcp.c nvmf/tcp: do cleanup in nvmf_tcp_poll_group_add() 2022-01-05 02:39:04 +00:00
transport.c nvmf: Disconnect qpair whose ctrlr is not set yet when removing listener 2021-12-29 02:19:58 +00:00
transport.h nvmf: remove accept poller from generic layer 2021-12-14 13:18:33 +00:00
vfio_user.c nvmf/vfio-user: fix the compilation issue on kernel 4.9.x 2021-12-16 08:45:58 +00:00