summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorPan Bian <bianpan2016@163.com>2021-01-21 17:57:38 +0300
committerJakub Kicinski <kuba@kernel.org>2021-01-24 00:19:56 +0300
commitb6011966ac6f402847eb5326beee8da3a80405c7 (patch)
tree7a39aa2a6532a762293e9d2ba2c2858140b8aff8 /Documentation
parentcf3c46631e1637582f517a574c77cd6c05793817 (diff)
downloadlinux-b6011966ac6f402847eb5326beee8da3a80405c7.tar.xz
chtls: Fix potential resource leak
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions