[PATCH 1/2] nvme-pci: avoid arrary index out of bounds in retry HMB allocation
Akinobu Mita
akinobu.mita at gmail.com
Tue Sep 5 05:56:59 PDT 2017
2017-09-05 5:03 GMT+09:00 Christoph Hellwig <hch at lst.de>:
> Hmm. I think I did a clear beginners mistake in that code in
> mixing up two loops. Can you try the version below that just
> adds a new function to separate the loops (and also gets rid of
> the weird early fail heuristic):
I tested the patch and it works fine. (this patch isn't applied cleanly
to v4.13, but the conflict was resolved easily)
More information about the Linux-nvme
mailing list