summaryrefslogtreecommitdiff
path: root/drivers/nvme
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@wdc.com>2025-04-30 08:23:47 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-05-09 09:50:46 +0200
commit9b552c84cde1d38de888cff91b647c02640eb493 (patch)
treea2f6308f3ba0d786be99cc943ffec214399999d0 /drivers/nvme
parent15ea0b616426afa767cbf8cff273cf574e9057ff (diff)
downloadlinux-9b552c84cde1d38de888cff91b647c02640eb493.tar.gz
linux-9b552c84cde1d38de888cff91b647c02640eb493.tar.bz2
linux-9b552c84cde1d38de888cff91b647c02640eb493.zip
nvmet-tcp: select CONFIG_TLS from CONFIG_NVME_TARGET_TCP_TLS
[ Upstream commit ac38b7ef704c0659568fd4b2c7e6c1255fc51798 ] Ensure that TLS support is enabled in the kernel when CONFIG_NVME_TARGET_TCP_TLS is enabled. Without this the code compiles, but does not actually work unless something else enables CONFIG_TLS. Fixes: 675b453e0241 ("nvmet-tcp: enable TLS handshake upcall") Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/nvme')
-rw-r--r--drivers/nvme/target/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvme/target/Kconfig b/drivers/nvme/target/Kconfig
index 46be031f91b4..34438cec32b9 100644
--- a/drivers/nvme/target/Kconfig
+++ b/drivers/nvme/target/Kconfig
@@ -98,6 +98,7 @@ config NVME_TARGET_TCP_TLS
bool "NVMe over Fabrics TCP target TLS encryption support"
depends on NVME_TARGET_TCP
select NET_HANDSHAKE
+ select TLS
help
Enables TLS encryption for the NVMe TCP target using the netlink handshake API.