aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAlistair Francis <alistair23@gmail.com>2025-04-30 08:40:25 +1000
committerChristoph Hellwig <hch@lst.de>2025-04-30 08:08:49 -0500
commit521987940ad4fd37fe3d0340ec6f39c4e8e91e36 (patch)
tree408b1873d0bdff8904c9e630067aee03bd50c2dd
parentnvme-tcp: fix premature queue removal and I/O failover (diff)
downloadwireguard-linux-521987940ad4fd37fe3d0340ec6f39c4e8e91e36.tar.xz
wireguard-linux-521987940ad4fd37fe3d0340ec6f39c4e8e91e36.zip
nvme-tcp: select CONFIG_TLS from CONFIG_NVME_TCP_TLS
Ensure that TLS support is enabled in the kernel when CONFIG_NVME_TCP_TLS is enabled. Without this the code compiles, but does not actually work unless something else enables CONFIG_TLS. Fixes: be8e82caa68 ("nvme-tcp: enable TLS handshake upcall") Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de>
-rw-r--r--drivers/nvme/host/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvme/host/Kconfig b/drivers/nvme/host/Kconfig
index d47dfa80fb95..4d64b6935bb9 100644
--- a/drivers/nvme/host/Kconfig
+++ b/drivers/nvme/host/Kconfig
@@ -102,6 +102,7 @@ config NVME_TCP_TLS
depends on NVME_TCP
select NET_HANDSHAKE
select KEYS
+ select TLS
help
Enables TLS encryption for NVMe TCP using the netlink handshake API.