aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-bridge.h
diff options
context:
space:
mode:
authorSagi Grimberg <[email protected]>2017-10-19 16:00:30 +0300
committerChristoph Hellwig <[email protected]>2017-10-19 17:07:22 +0200
commitbd9f07590a17f3158b51fb869dca723f1f606bdc (patch)
treee7a19c5b8fd5bc31285c6ce7dcdf57ad062671ec /include/linux/fpga/fpga-bridge.h
parentf9cf2a64912d67c9cf49c316a0a0ada0ea7ed1da (diff)
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 31fdf1840170. 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: 31fdf1840170 ("nvme-rdma: reuse configure/destroy_admin_queue") Reported-by: Yi Zhang <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Sagi Grimberg <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions