linux/drivers/nvme/host
Sagi Grimberg 682630f00a nvme-rdma: fix possible double free of controller async event buffer
If reconnect/reset failed where the controller async event buffer
was freed, we might end up freeing it again as we call
nvme_rdma_destroy_admin_queue again in the remove path. Given that
the sequence is guaranteed to serialize by .ctrl_stop, we simply
set ctrl->async_event_sqe.data to NULL and don't free it in future
visits.

Reported-by: Max Gurtovoy <maxg@mellanox.com>
Tested-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2018-06-28 16:29:54 +02:00
..
Kconfig
Makefile
core.c nvme-pci: limit max IO size and segments to avoid high order allocations 2018-06-21 18:59:46 +02:00
fabrics.c nvme-fabrics: fix and refine state checks in __nvmf_check_ready 2018-06-15 11:21:00 +02:00
fabrics.h nvme-fabrics: handle the admin-only case properly in nvmf_check_ready 2018-06-15 11:21:00 +02:00
fault_inject.c
fc.c nvme-fc: release io queues to allow fast fail 2018-06-21 09:31:28 +02:00
lightnvm.c
multipath.c nvme: add bio remapping tracepoint 2018-06-11 16:17:46 +02:00
nvme.h nvme-pci: limit max IO size and segments to avoid high order allocations 2018-06-21 18:59:46 +02:00
pci.c nvme-pci: limit max IO size and segments to avoid high order allocations 2018-06-21 18:59:46 +02:00
rdma.c nvme-rdma: fix possible double free of controller async event buffer 2018-06-28 16:29:54 +02:00
trace.c
trace.h