]> xenbits.xensource.com Git - people/pauldu/qemu.git/commit
hw/nvme: remove copy bh scheduling
authorKlaus Jensen <k.jensen@samsung.com>
Thu, 14 Jul 2022 07:37:20 +0000 (09:37 +0200)
committerKlaus Jensen <k.jensen@samsung.com>
Thu, 1 Dec 2022 07:45:03 +0000 (08:45 +0100)
commit83f56ac321ca2301f00e63b6acbde5c692916a1d
tree3586d9ac03ccfbf41d798cd29f33400dd9549359
parent818b9b8f5efb728793b9a2c124adab371d2c16e5
hw/nvme: remove copy bh scheduling

Fix a potential use-after-free by removing the bottom half and enqueuing
the completion directly.

Fixes: 796d20681d9b ("hw/nvme: reimplement the copy command to allow aio cancellation")
Reviewed-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
hw/nvme/ctrl.c