]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita7fd1af459b14a08c6004c1177df23f7f73578cb
tree2bca7e181b055cafad8f87c47d68784dc8ab87e8
parente1bad6a2b2c7e33297f0e85581cceb9a030ddd41
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