aboutsummaryrefslogtreecommitdiffstats
path: root/net/tls/tls.h
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2022-07-22 23:50:32 +0000
committerJakub Kicinski <[email protected]>2022-07-26 21:38:51 +0000
commit8b3c59a7a0bed6fe365755ac211dcf94fdac81b4 (patch)
tree2bca7e181b055cafad8f87c47d68784dc8ab87e8 /net/tls/tls.h
parenttcp: allow tls to decrypt directly from the tcp rcv queue (diff)
downloadkernel-8b3c59a7a0bed6fe365755ac211dcf94fdac81b4.tar.gz
kernel-8b3c59a7a0bed6fe365755ac211dcf94fdac81b4.zip
tls: rx: device: add input CoW helper
Wrap the remaining skb_cow_data() into a helper, so it's easier to replace down the lane. The new version will change the skb so make sure relevant pointers get reloaded after the call. Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/tls/tls.h')
-rw-r--r--net/tls/tls.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tls/tls.h b/net/tls/tls.h
index 78c5d699bf75..154a3773e785 100644
--- a/net/tls/tls.h
+++ b/net/tls/tls.h
@@ -127,6 +127,7 @@ int tls_sw_fallback_init(struct sock *sk,
struct tls_offload_context_tx *offload_ctx,
struct tls_crypto_info *crypto_info);
+int tls_strp_msg_cow(struct tls_sw_context_rx *ctx);
struct sk_buff *tls_strp_msg_detach(struct tls_sw_context_rx *ctx);
int tls_strp_msg_hold(struct sock *sk, struct sk_buff *skb,
struct sk_buff_head *dst);