commit | 5a5fac9966bb6d513198634b0b1357be7e8447d2 | [log] [tgz] |
---|---|---|
author | Ayush Sawal <ayush.sawal@chelsio.com> | Wed Jan 06 09:59:08 2021 +0530 |
committer | Jakub Kicinski <kuba@kernel.org> | Thu Jan 07 17:06:02 2021 -0800 |
tree | 1792fccb4e61ac59e07da474743528afef07f8a2 | |
parent | 827d329105bfde6701f0077e34a09c4a86e27145 [diff] |
chtls: Fix panic when route to peer not configured If route to peer is not configured, we might get non tls devices from dst_neigh_lookup() which is invalid, adding a check to avoid it. Fixes: cc35c88ae4db ("crypto : chtls - CPL handler definition") Signed-off-by: Rohit Maheshwari <rohitm@chelsio.com> Signed-off-by: Ayush Sawal <ayush.sawal@chelsio.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>