Skip to content

Commit 5219879

Browse files
alistair23Christoph Hellwig
authored and
Christoph Hellwig
committed
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: be8e82c ("nvme-tcp: enable TLS handshake upcall") Signed-off-by: Alistair Francis <[email protected]> Reviewed-by: Chaitanya Kulkarni <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
1 parent 77e40bb commit 5219879

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/nvme/host/Kconfig

+1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ config NVME_TCP_TLS
102102
depends on NVME_TCP
103103
select NET_HANDSHAKE
104104
select KEYS
105+
select TLS
105106
help
106107
Enables TLS encryption for NVMe TCP using the netlink handshake API.
107108

0 commit comments

Comments
 (0)