diff options
author | Keith Busch <keith.busch@intel.com> | 2017-09-14 13:54:39 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-09-25 08:56:05 -0600 |
commit | 161b8be2bd6abad250d4b3f674bdd5480f15beeb (patch) | |
tree | 92f9980a7c62acd14e6e549d90e6c236c792bef6 /CREDITS | |
parent | deb61742e060d4447712598bc11bb50f8b2e51dd (diff) | |
download | linux-161b8be2bd6abad250d4b3f674bdd5480f15beeb.tar.gz linux-161b8be2bd6abad250d4b3f674bdd5480f15beeb.tar.bz2 linux-161b8be2bd6abad250d4b3f674bdd5480f15beeb.zip |
nvme-pci: initialize queue memory before interrupts
A spurious interrupt before the nvme driver has initialized the completion
queue may inadvertently cause the driver to believe it has a completion
to process. This may result in a NULL dereference since the nvmeq's tags
are not set at this point.
The patch initializes the host's CQ memory so that a spurious interrupt
isn't mistaken for a real completion.
Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions