]> git.baikalelectronics.ru Git - kernel.git/commit
tls: rx: async: hold onto the input skb
authorJakub Kicinski <kuba@kernel.org>
Fri, 15 Jul 2022 05:22:33 +0000 (22:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Jul 2022 10:24:11 +0000 (11:24 +0100)
commitf9040bcc466ee6733489b3b51cf597eefeec4090
treeaa66b80b665d2a52d9149377e2df3de0dfd8d6f1
parenta94805f1b089fe82080d0e66f19331a00e194f98
tls: rx: async: hold onto the input skb

Async crypto currently benefits from the fact that we decrypt
in place. When we allow input and output to be different skbs
we will have to hang onto the input while we move to the next
record. Clone the inputs and keep them on a list.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tls.h
net/tls/Makefile
net/tls/tls.h
net/tls/tls_strp.c [new file with mode: 0644]
net/tls/tls_sw.c