]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 20:40:57 +0000 (13:40 -0700)
commit7c64c1314fdb6e8b0ae2a45a07119b9c32329080
tree4a137d77e6ab19013f7ad3e2ca10fa5a2906a580
parentff8a76f62b0ba0ad092e87a5b48457e93cd378de
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>
(cherry picked from commit 949928c1c731417cc0f070912c63878b62b544f4)

Orabug: 25130845

Signed-off-by: Ashok Vairavan <ashok.vairavan@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/nvme/host/pci.c