Re: [PATCH v4] nvmet: clean up DH group state on initialization failure
From: Keith Busch
Date: Mon Nov 16 2026 - 10:17:09 EST
On Tue, 10 Nov 2026 11:35:02 +0000, Sreeraj S Kurup wrote:
> nvmet_setup_dhgroup() leaves the DH transform and group ID
> initialized when private-key generation, public-key allocation,
> or public-key generation fails.
>
> A subsequent invocation with the same DH group incorrectly
> returns success because the existing transform and group ID
> are treated as proof of successful initialization.
>
> [...]
Thanks, applied to nvme-7.4.
[1/1] nvmet: clean up DH group state on initialization failure
commit: 920cd269c9228c5f51a8bbd65575010890797afa
--
Keith Busch <kbusch@xxxxxxxxxx>