diff options
| author | Hannes Reinecke <[email protected]> | 2025-04-25 09:34:34 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2025-04-30 13:09:09 +0000 |
| commit | 8edb86b2ed1d63cc400aecae8eb8c8114837171a (patch) | |
| tree | 498697c7147f0aadd277d87d8bf19f286653f27c /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
| parent | nvmet-tcp: don't restore null sk_state_change (diff) | |
| download | kernel-8edb86b2ed1d63cc400aecae8eb8c8114837171a.tar.gz kernel-8edb86b2ed1d63cc400aecae8eb8c8114837171a.zip | |
nvmet-auth: always free derived key data
After calling nvme_auth_derive_tls_psk() we need to free the resulting
psk data, as either TLS is disable (and we don't need the data anyway)
or the psk data is copied into the resulting key (and can be free, too).
Fixes: fa2e0f8bbc68 ("nvmet-tcp: support secure channel concatenation")
Reported-by: Yi Zhang <[email protected]>
Suggested-by: Maurizio Lombardi <[email protected]>
Signed-off-by: Hannes Reinecke <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Tested-by: Yi Zhang <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions
