]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
chtls: Fix chtls resources release sequence
authorAyush Sawal <ayush.sawal@chelsio.com>
Wed, 6 Jan 2021 04:29:12 +0000 (09:59 +0530)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 19 Feb 2021 15:44:18 +0000 (16:44 +0100)
commit8e2cac70c2f10ec0cc3bbec6875b08733b5ae772
treecb6484ab80896a1175531bacac259de93db28319
parent26a6ec66e7da197123af878b6ec942fecdb22f16
chtls: Fix chtls resources release sequence

BugLink: https://bugs.launchpad.net/bugs/1913487
[ Upstream commit 15ef6b0e30b354253e2c10b3836bc59767eb162b ]

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: cc35c88ae4db ("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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: William Breathitt Gray <william.gray@canonical.com>
drivers/crypto/chelsio/chtls/chtls_cm.c