aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorHannes Reinecke <[email protected]>2025-04-25 09:34:34 +0000
committerChristoph Hellwig <[email protected]>2025-04-30 13:09:09 +0000
commit8edb86b2ed1d63cc400aecae8eb8c8114837171a (patch)
tree498697c7147f0aadd277d87d8bf19f286653f27c /scripts/gcc-plugins/sancov_plugin.c
parentnvmet-tcp: don't restore null sk_state_change (diff)
downloadkernel-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 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions