Skip to content
Snippets Groups Projects
Commit 92dc6895 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

nvme-pci: fix host memory buffer allocation fallback


nvme_alloc_host_mem currently contains two loops that are interwinded,
and the outer retry loop turns out to be broken.  Fix this by untangling
the two.

Based on a report an initial patch from Akinobu Mita.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reported-by: default avatarAkinobu Mita <akinobu.mita@gmail.com>
Tested-by: default avatarAkinobu Mita <akinobu.mita@gmail.com>
Reviewed-by: default avatarKeith Busch <keith.busch@intel.com>
Cc: stable@vger.kernel.org
parent 608cc4b1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment