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 <pctamm...@gmail.com> --- net/tls/tls_sw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/tls/tls_sw.c b/net/tls/tls_sw.c index bf5b54b513bc..596b63d2258a 100644 --- a/net/tls/tls_sw.c +++ b/net/tls/tls_sw.c @@ -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) -- 2.21.0