* [PATCH] tls: export decrypt_skb
@ 2019-03-04 21:35 Pedro Tammela
2019-03-04 21:42 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Pedro Tammela @ 2019-03-04 21:35 UTC (permalink / raw)
To: netdev, Boris Pismenny, Aviad Yehezkel, Dave Watson,
John Fastabend, Daniel Borkmann, David S. Miller
Cc: Pedro Tammela
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@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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] tls: export decrypt_skb
2019-03-04 21:35 [PATCH] tls: export decrypt_skb Pedro Tammela
@ 2019-03-04 21:42 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2019-03-04 21:42 UTC (permalink / raw)
To: pctammela; +Cc: netdev, borisp, aviadye, davejwatson, john.fastabend, daniel
From: Pedro Tammela <pctammela@gmail.com>
Date: Mon, 4 Mar 2019 18:35:02 -0300
> 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@gmail.com>
Not applying this until there is an in-tree user.
Sorry.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-03-04 21:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-04 21:35 [PATCH] tls: export decrypt_skb Pedro Tammela
2019-03-04 21:42 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).