summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSreeraj S Kurup <sreekuttan2156239@gmail.com>2026-11-10 11:35:02 +0000
committerKeith Busch <kbusch@kernel.org>2026-11-16 07:15:01 -0800
commit920cd269c9228c5f51a8bbd65575010890797afa (patch)
treeb9568eb2eae44370e190afe352726a52efce9685 /tools/perf/scripts/python
parentf92fe8dea19c743eb9e4d998ae0384344dd40091 (diff)
nvmet: clean up DH group state on initialization failure
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. Release the transform and reset the group state on initialization failures so that subsequent attempts can properly retry setup. Fixes: 7a277c37d352 ("nvmet-auth: Diffie-Hellman key exchange support") Signed-off-by: Sreeraj S Kurup <sreekuttan2156239@gmail.com> Reviewed-by: Hannes Reinecke <hare@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions