Skip to content
Commit 3f92a64e authored by Jakub Kicinski's avatar Jakub Kicinski
Browse files

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: default avatarJakub Kicinski <kuba@kernel.org>
parent d4e5db64
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment