On Fri, 23 Oct 2020 00:35:57 +0530 Vinay Kumar Yadav wrote: > chtls_pt_recvmsg() receives a skb with tls header and subsequent > skb with data, need to finalize the data copy whenever next skb > with tls header is available. but here current tls header is > overwritten by next available tls header, ends up corrupting > user buffer data. fixing it by finalizing current record whenever > next skb contains tls header. > > v1->v2: > - Improved commit message. > > Fixes: 17a7d24aa89d ("crypto: chtls - generic handling of data and hdr") > Signed-off-by: Vinay Kumar Yadav <vinay.ya...@chelsio.com>
Applied.