summaryrefslogtreecommitdiff
path: root/net/tls/Kconfig
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2024-04-03 23:21:39 +0300
committerDavid S. Miller <davem@davemloft.net>2024-04-06 19:34:31 +0300
commit9f06f87fef689d28588cde8c7ebb00a67da34026 (patch)
tree597fb380446889e487955fe12877805fc90d4699 /net/tls/Kconfig
parent0d875bb4a72ee0e129cca674a5a1c06ff2e67d78 (diff)
downloadlinux-9f06f87fef689d28588cde8c7ebb00a67da34026.tar.xz
net: skbuff: generalize the skb->decrypted bit
The ->decrypted bit can be reused for other crypto protocols. Remove the direct dependency on TLS, add helpers to clean up the ifdefs leaking out everywhere. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: David Ahern <dsahern@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tls/Kconfig')
-rw-r--r--net/tls/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tls/Kconfig b/net/tls/Kconfig
index 0cdc1f7b6b08..ce8d56a19187 100644
--- a/net/tls/Kconfig
+++ b/net/tls/Kconfig
@@ -20,6 +20,7 @@ config TLS
config TLS_DEVICE
bool "Transport Layer Security HW offload"
depends on TLS
+ select SKB_DECRYPTED
select SOCK_VALIDATE_XMIT
select SOCK_RX_QUEUE_MAPPING
default n