linux/drivers/nvme/host
Sagi Grimberg bd9f07590a nvme-rdma: Fix possible double free in reconnect flow
The fact that we free the async event buffer in
nvme_rdma_destroy_admin_queue can cause us to free it
more than once because this happens in every reconnect
attempt since commit 31fdf18401. we rely on the queue
state flags DELETING to avoid this for other resources.

A more complete fix is to not destroy the admin/io queues
unconditionally on every reconnect attempt, but its a bit
more extensive and will go in the next release.

Fixes: 31fdf18401 ("nvme-rdma: reuse configure/destroy_admin_queue")
Reported-by: Yi Zhang <yi.zhang@redhat.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2017-10-19 17:07:22 +02:00
..
core.c nvme: fix visibility of "uuid" ns attribute 2017-10-01 09:58:04 +02:00
fabrics.c nvme-fabrics: Allow 0 as KATO value 2017-09-25 08:56:05 -06:00
fabrics.h nvme: read the subsystem NQN from Identify Controller 2017-06-28 08:14:13 -06:00
fc.c nvme-fc: retry initial controller connections 3 times 2017-10-18 19:30:01 +02:00
Kconfig nvme: Remove SCSI translations 2017-06-28 08:14:13 -06:00
lightnvm.c nvme: fix lightnvm check 2017-09-11 12:29:36 -04:00
Makefile nvme: Makefile: remove dead build rule 2017-06-29 09:43:23 -06:00
nvme.h nvme-pci: implement the HMB entry number and size limitations 2017-09-11 12:29:40 -04:00
pci.c nvme-pci: Use PCI bus address for data/queues in CMB 2017-10-04 11:42:53 +02:00
rdma.c nvme-rdma: Fix possible double free in reconnect flow 2017-10-19 17:07:22 +02:00