summaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorPan Bian <bianpan2016@163.com>2021-01-21 06:57:38 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-02-13 13:51:14 +0100
commit6259963da5adcbbe4992412ccf8375bd380c5c72 (patch)
treedf9c344d9aaad37b2ca3816f893a845d2fd41761 /fs/nfs
parent1d915c56268fa214c94ef764df8bf31d1bd5f25b (diff)
downloadlinux-stable-6259963da5adcbbe4992412ccf8375bd380c5c72.tar.gz
linux-stable-6259963da5adcbbe4992412ccf8375bd380c5c72.tar.bz2
linux-stable-6259963da5adcbbe4992412ccf8375bd380c5c72.zip
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>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions