aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorGaosheng Cui <[email protected]>2024-07-06 14:46:25 +0800
committerKeith Busch <[email protected]>2024-07-08 10:28:16 -0700
commit89f58f96d1e2357601c092d85b40a2109cf25ef3 (patch)
treefe1b5e2b47945343556be6e42a2e97972edc3944 /scripts/bpf_doc.py
parent18f03a063d41a90115373dc41c1fc22bd3e0a6ad (diff)
nvmet-auth: fix nvmet_auth hash error handling
If we fail to call nvme_auth_augmented_challenge, or fail to kmalloc for shash, we should free the memory allocation for challenge, so add err path out_free_challenge to fix the memory leak. Fixes: 7a277c37d352 ("nvmet-auth: Diffie-Hellman key exchange support") Signed-off-by: Gaosheng Cui <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions