diff options
author | Christoph Hellwig <hch@lst.de> | 2017-09-11 12:08:43 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-09-11 12:29:37 -0400 |
commit | 92dc689563170b90ba844b8a2eb95e8a5eda2e83 (patch) | |
tree | 210fe88f087cd10c506106202afc3779cf685d8b /include/linux | |
parent | 608cc4b14aeadcf3e4dc325fc211b7052e74b50c (diff) |
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: Christoph Hellwig <hch@lst.de>
Reported-by: Akinobu Mita <akinobu.mita@gmail.com>
Tested-by: Akinobu Mita <akinobu.mita@gmail.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions