]> git.baikalelectronics.ru Git - kernel.git/commit
tls: rx: device: keep the zero copy status with offload
authorJakub Kicinski <kuba@kernel.org>
Fri, 22 Jul 2022 23:50:30 +0000 (16:50 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 26 Jul 2022 21:38:51 +0000 (14:38 -0700)
commite63f1cc6cebcf498435f41388a43832d937ad5b1
treedf5863e1025a26d4ed2842d7c2e38761ec306b50
parent0bb068a0c3000f7d7ae9e942b351ad68962e909d
tls: rx: device: keep the zero copy status with offload

The non-zero-copy path assumes a full skb with decrypted contents.
This means the device offload would have to CoW the data. Try
to keep the zero-copy status instead, copy the data to user space.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/tls/tls.h
net/tls/tls_strp.c
net/tls/tls_sw.c