[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190304213502.9332-1-pctammela@gmail.com>
Date: Mon, 4 Mar 2019 18:35:02 -0300
From: Pedro Tammela <pctammela@...il.com>
To: netdev@...r.kernel.org, Boris Pismenny <borisp@...lanox.com>,
Aviad Yehezkel <aviadye@...lanox.com>,
Dave Watson <davejwatson@...com>,
John Fastabend <john.fastabend@...il.com>,
Daniel Borkmann <daniel@...earbox.net>,
"David S. Miller" <davem@...emloft.net>
Cc: Pedro Tammela <pctammela@...il.com>
Subject: [PATCH] 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 <pctammela@...il.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
Powered by blists - more mailing lists