commit | eade1e0a4fb31d48eeb1589d9bb859ae4dd6181d | [log] [tgz] |
---|---|---|
author | Ayush Sawal <ayush.sawal@chelsio.com> | Wed Jan 06 09:59:11 2021 +0530 |
committer | Jakub Kicinski <kuba@kernel.org> | Thu Jan 07 17:06:02 2021 -0800 |
tree | 93b01c5cf2261ebe22f652ae2e554b0e9afb6c5c | |
parent | a84b2c0d5fa23da6d6c8c0d5f5c93184a2744d3e [diff] |
chtls: Added a check to avoid NULL pointer dereference In case of server removal lookup_stid() may return NULL pointer, which is used as listen_ctx. So added a check before accessing this pointer. 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>