Re: [PATCH v2 07/20] nvme-auth: don't override ctrl keys before validation

Chaitanya Kulkarni
2022-11-15T03:58:16Z

On 11/13/22 03:24, Sagi Grimberg wrote:
> Replace ctrl ctrl_key/host_key only after nvme_auth_generate_key is successful.
> Also, this fixes a bug where the keys are leaked.
>
> Reviewed-by: Hannes Reinecke <hare@suse.de>
> Signed-off-by: Sagi Grimberg <sagi@grimberg.me>

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>

-ck