]> git.baikalelectronics.ru Git - kernel.git/commit
NVMe: Fix possible queue use after freed
authorKeith Busch <keith.busch@intel.com>
Fri, 18 Dec 2015 00:08:15 +0000 (17:08 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 9 Feb 2016 19:42:35 +0000 (12:42 -0700)
commit14552349391bad6c289d5e7e60b311acad34c842
tree34a5310870609384f3904f5b61c06272c80d55fb
parent9b556a84ab1f7e86b804510d0349699904069cd0
NVMe: Fix possible queue use after freed

This notifies blk-mq when the tag set contains a different number of
queues prior to freeing unused ones that the request queue points to.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/pci.c