tls: rx: device: add input CoW helper
authorJakub Kicinski <kuba@kernel.org>
Fri, 22 Jul 2022 23:50:32 +0000 (16:50 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 26 Jul 2022 21:38:51 +0000 (14:38 -0700)
commit8b3c59a7a0bed6fe365755ac211dcf94fdac81b4
tree2bca7e181b055cafad8f87c47d68784dc8ab87e8
parent3f92a64e44e5823a975cbf2c9f05ab1893fd4cb7
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 <kuba@kernel.org>
net/tls/tls.h
net/tls/tls_device.c
net/tls/tls_strp.c