• Jakub Kicinski's avatar
    tls: splice_read: fix accessing pre-processed records · e062fe99
    Jakub Kicinski authored
    recvmsg() will put peek()ed and partially read records onto the rx_list.
    splice_read() needs to consult that list otherwise it may miss data.
    Align with recvmsg() and also put partially-read records onto rx_list.
    tls_sw_advance_skb() is pretty pointless now and will be removed in
    net-next.
    
    Fixes: 692d7b5d ("tls: Fix recvmsg() to be able to peek across multiple records")
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    e062fe99
tls_sw.c 65.2 KB