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>
This commit is contained in:
committed by
David S. Miller
parent
0d875bb4a7
commit
9f06f87fef
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user