Skip to content

Commit ac38b7e

Browse files
alistair23Christoph Hellwig
authored and
Christoph Hellwig
committed
nvmet-tcp: select CONFIG_TLS from CONFIG_NVME_TARGET_TCP_TLS
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: 675b453 ("nvmet-tcp: enable TLS handshake upcall") Signed-off-by: Alistair Francis <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Reviewed-by: Chaitanya Kulkarni <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
1 parent 5219879 commit ac38b7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/nvme/target/Kconfig

+1
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ config NVME_TARGET_TCP_TLS
9898
bool "NVMe over Fabrics TCP target TLS encryption support"
9999
depends on NVME_TARGET_TCP
100100
select NET_HANDSHAKE
101+
select TLS
101102
help
102103
Enables TLS encryption for the NVMe TCP target using the netlink handshake API.
103104

0 commit comments

Comments
 (0)