summaryrefslogtreecommitdiffstats
path: root/lib/usercopy.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-07-23 01:50:31 +0200
committerJakub Kicinski <kuba@kernel.org>2022-07-26 23:38:51 +0200
commit3f92a64e44e5823a975cbf2c9f05ab1893fd4cb7 (patch)
treefd885c0c1da7c09d87948646ca261e14ba331bf2 /lib/usercopy.c
parenttls: rx: device: keep the zero copy status with offload (diff)
downloadlinux-3f92a64e44e5823a975cbf2c9f05ab1893fd4cb7.tar.xz
linux-3f92a64e44e5823a975cbf2c9f05ab1893fd4cb7.zip
tcp: allow tls to decrypt directly from the tcp rcv queue
Expose TCP rx queue accessor and cleanup, so that TLS can decrypt directly from the TCP queue. The expectation is that the caller can access the skb returned from tcp_recv_skb() and up to inq bytes worth of data (some of which may be in ->next skbs) and then call tcp_read_done() when data has been consumed. The socket lock must be held continuously across those two operations. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/usercopy.c')
0 files changed, 0 insertions, 0 deletions