]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-loop: fix a possible use-after-free when destroying the admin queue
authorSagi Grimberg <sagi@grimberg.me>
Mon, 27 Feb 2017 16:44:45 +0000 (18:44 +0200)
committerSagi Grimberg <sagi@grimberg.me>
Thu, 16 Mar 2017 16:41:17 +0000 (18:41 +0200)
commit68bbeec0a5db4274ffabe4675302532cbaf04fcb
treea4fce8dbb95558ffd1de0124ea8d4f4f5821c206
parent7fce8e7d5d6ca2c2f79c9793874be12776b5c214
nvme-loop: fix a possible use-after-free when destroying the admin queue

we need to destroy the nvmet sq and let it finish gracefully
before continue to cleanup the queue.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/target/loop.c