linux/drivers/crypto/chelsio/chtls
Pan Bian a5c70e57c4 chtls: Fix potential resource leak
[ Upstream commit b6011966ac6f402847eb5326beee8da3a80405c7 ]

The dst entry should be released if no neighbour is found. Goto label
free_dst to fix the issue. Besides, the check of ndev against NULL is
redundant.

Signed-off-by: Pan Bian <bianpan2016@163.com>
Link: https://lore.kernel.org/r/20210121145738.51091-1-bianpan2016@163.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-02-13 13:52:55 +01:00
..
Makefile
chtls.h
chtls_cm.c chtls: Fix potential resource leak 2021-02-13 13:52:55 +01:00
chtls_cm.h
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