• Jakub Kicinski's avatar
    tcp: allow tls to decrypt directly from the tcp rcv queue · 3f92a64e
    Jakub Kicinski authored
    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>
    3f92a64e
tcp.c 125 KB