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)
commitc618db2afe7c31d13ca8cf05b60f17165fbdc282
treeaa66b80b665d2a52d9149377e2df3de0dfd8d6f1
parent6ececdc5136900bc99ef04c60c9daeab86dbeb85
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