[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201023183627.70f0e499@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net>
Date: Fri, 23 Oct 2020 18:36:27 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Vinay Kumar Yadav <vinay.yadav@...lsio.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, secdev@...lsio.com
Subject: Re: [PATCH net,v2] chelsio/chtls: fix tls record info to user
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.yadav@...lsio.com>
Applied.
Powered by blists - more mailing lists