[PATCH] nvme: catch errors from nvme_configure_metadata()
Keith Busch
kbusch at kernel.org
Tue Nov 14 06:03:33 PST 2023
On Tue, Nov 14, 2023 at 02:27:01PM +0100, Hannes Reinecke wrote:
> nvme_configure_metadata() is issuing I/O, so we might incur an I/O
> error which will cause the connection to be reset.
> But in that case any further probing will race with reset and
> cause UAF errors.
> So return a status from nvme_configure_metadata() and abort
> probing if there was an I/O error.
>
> Signed-off-by: Hannes Reinecke <hare at suse.de>
Applied for nvme-6.7, thanks!
More information about the Linux-nvme
mailing list