mirror_ubuntu-kernels/drivers/net/ethernet/chelsio/inline_crypto
Vinay Kumar Yadav 4f3391ce8f chelsio/chtls: fix tls record info to user
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: 17a7d24aa8 ("crypto: chtls - generic handling of data and hdr")
Signed-off-by: Vinay Kumar Yadav <vinay.yadav@chelsio.com>
Link: https://lore.kernel.org/r/20201022190556.21308-1-vinay.yadav@chelsio.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-10-23 18:34:10 -07:00
..
ch_ipsec cxgb4/ch_ipsec: Replace the module name to ch_ipsec from chcr 2020-10-15 09:28:34 -07:00
ch_ktls cxgb4/ch_ktls: ktls stats are added at port level 2020-09-29 13:57:03 -07:00
chtls chelsio/chtls: fix tls record info to user 2020-10-23 18:34:10 -07:00
Kconfig net: chelsio: inline_crypto: fix Kconfig and build errors 2020-10-20 18:15:53 -07:00
Makefile crypto/chcr: move nic TLS functionality to drivers/net 2020-09-11 17:26:39 -07:00