linux/drivers/nvme/target
Hannes Reinecke 8edb86b2ed 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: fa2e0f8bbc ("nvmet-tcp: support secure channel concatenation")
Reported-by: Yi Zhang <yi.zhang@redhat.com>
Suggested-by: Maurizio Lombardi <mlombard@bsdbackstore.eu>
Signed-off-by: Hannes Reinecke <hare@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Tested-by: Yi Zhang <yi.zhang@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2025-04-30 08:09:09 -05:00
..
Kconfig nvmet-tcp: select CONFIG_TLS from CONFIG_NVME_TARGET_TCP_TLS 2025-04-30 08:08:53 -05:00
Makefile nvmet: New NVMe PCI endpoint function target driver 2025-01-10 19:30:49 -08:00
admin-cmd.c nvme fixes for Linux 6.14 2025-02-03 09:19:03 -07:00
auth.c nvmet-auth: always free derived key data 2025-04-30 08:09:09 -05:00
configfs.c for-6.14/block-20250118 2025-01-20 19:38:46 -08:00
core.c nvmet: fix out-of-bounds access in nvmet_enable_port 2025-04-22 09:50:28 +02:00
debugfs.c These are objtool fixes and updates by Josh Poimboeuf, centered 2025-04-02 10:30:10 -07:00
debugfs.h nvmet: add debugfs support 2024-06-24 12:53:42 -07:00
discovery.c nvmet: Introduce nvmet_req_transfer_len() 2025-01-10 19:30:47 -08:00
fabrics-cmd-auth.c nvmet-tcp: support secure channel concatenation 2025-03-20 16:53:54 -07:00
fabrics-cmd.c nvmet-tcp: support secure channel concatenation 2025-03-20 16:53:54 -07:00
fc.c nvmet-fc: put ref when assoc->del_work is already scheduled 2025-04-09 13:03:56 +02:00
fcloop.c nvmet-fcloop: add ref counting to lport 2025-04-09 13:03:55 +02:00
io-cmd-bdev.c nvme fixes for Linux 6.14 2025-02-03 09:19:03 -07:00
io-cmd-file.c nvmet: use bvec_set_page to initialize bvecs 2023-02-03 08:20:55 -07:00
loop.c block: remove unused parameter 'q' parameter in __blk_rq_map_sg() 2025-03-13 05:46:19 -06:00
nvmet.h for-6.15/block-20250322 2025-03-26 18:08:55 -07:00
passthru.c block: remove bio_add_pc_page 2025-01-04 15:27:35 -07:00
pci-epf.c nvmet: pci-epf: cleanup link state management 2025-04-16 07:37:37 +02:00
pr.c nvmet-loop: avoid using mutex in IO hotpath 2024-12-27 13:24:00 -08:00
rdma.c nvmet-rdma: recheck queue state is LIVE in state lock in recv done 2025-02-18 07:22:55 -08:00
tcp.c nvmet-tcp: don't restore null sk_state_change 2025-04-30 08:09:08 -05:00
trace.c nvmet: add tracing of reservation commands 2024-11-13 08:51:24 -08:00
trace.h nvme: trace: avoid memcpy overflow warning 2024-01-05 13:16:18 -08:00
zns.c block: remove bio_add_pc_page 2025-01-04 15:27:35 -07:00