Re: [PATCH] nvme: fix NULL pointer dereference

From: Tong Zhang
Date: Thu Sep 17 2020 - 20:45:25 EST


Hmm..Yeah.. I see your point.
I was naivly thinking the command_id was the culprit.

On Thu, Sep 17, 2020 at 1:14 PM Keith Busch <kbusch@xxxxxxxxxx> wrote:
>
> On Thu, Sep 17, 2020 at 12:56:59PM -0400, Tong Zhang wrote:
> > The command_id in CQE is writable by NVMe controller, driver should
> > check its sanity before using it.
>
> We already do that.