tls: export decrypt_skb
Subsystems (3)
PATCH 1/1 tls: export decrypt_skb
Export decrypt_skb() to other kernel modules.
This is useful for other ulps that are on top of TLS and need to have access to the skb's plain data.
Signed-off-by Pedro Tammela <[email protected]>
--- net/tls/tls_sw.c | 1 + 1 file changed, 1 insertion(+)
net/tls/tls_sw.c +1 -0
@@ -1443,6 +1443,7 @@ int decrypt_skb(struct sock *sk, struct sk_buff *skb,return decrypt_internal (sk, skb,NULL , sgout, &chunk, &zc); } +EXPORT_SYMBOL_GPL (decrypt_skb);static bool tls_sw_advance_skb (struct sock *sk,struct sk_buff *skb,unsigned int len)
Signature · 1 line
2.21.0
David Miller
maintainerFrom: Pedro Tammela <[email protected]>
Date: Mon, 4 Mar 2019 18:35:02 -0300
Quoted 5 lines
Export
decrypt_skb()to other kernel modules.
This is useful for other ulps that are on top of TLS and need to have access to the skb's plain data.Signed-off-by Pedro Tammela <[email protected]>
Not applying this until there is an in-tree user.
Sorry.