• Jakub Kicinski's avatar
    tls: rx: fix the false positive warning · e20691fa
    Jakub Kicinski authored
    I went too far in the accessor conversion, we can't use tls_strp_msg()
    after decryption because the message may not be ready. What we care
    about on this path is that the output skb is detached, i.e. we didn't
    somehow just turn around and used the input skb with its TCP data
    still attached. So look at the anchor directly.
    
    Fixes: 84c61fe1 ("tls: rx: do not use the standard strparser")
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    e20691fa
tls_sw.c 68.3 KB