1
0
Fork 0
alistair23-linux/drivers/crypto/chelsio/chtls
Ayush Sawal 96fb3d28c8 chtls: Fix chtls resources release sequence
[ Upstream commit 15ef6b0e30 ]

CPL_ABORT_RPL is sent after releasing the resources by calling
chtls_release_resources(sk); and chtls_conn_done(sk);
eventually causing kernel panic. Fixing it by calling release
in appropriate order.

Fixes: cc35c88ae4 ("crypto : chtls - CPL handler definition")
Signed-off-by: Vinay Kumar Yadav <vinay.yadav@chelsio.com>
Signed-off-by: Ayush Sawal <ayush.sawal@chelsio.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-01-17 14:05:34 +01:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
chtls.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
chtls_cm.c chtls: Fix chtls resources release sequence 2021-01-17 14:05:34 +01:00
chtls_cm.h crypto: chtls - Fixed memory leak 2020-02-24 08:36:40 +01:00
chtls_hw.c chelsio/chtls: fix a double free in chtls_setkey() 2020-12-08 10:40:26 +01:00
chtls_io.c chelsio/chtls: fix tls record info to user 2020-11-01 12:01:03 +01:00
chtls_main.c net/tls: use the full sk_proto pointer 2019-09-05 09:49:49 +02:00