aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2024-11-14 16:32:21 -0800
committerJakub Kicinski <[email protected]>2024-11-18 18:42:21 -0800
commit0de6a472c3b38432b2f184bd64eb70d9ea36d107 (patch)
treea8ef770cf6ae72b52e2704a4d373c28acadeb084 /tools/perf/scripts/python/stackcollapse.py
parente64285ff41bb7a934bd815bd38f31119be62ac37 (diff)
net/neighbor: clear error in case strict check is not set
Commit 51183d233b5a ("net/neighbor: Update neigh_dump_info for strict data checking") added strict checking. The err variable is not cleared, so if we find no table to dump we will return the validation error even if user did not want strict checking. I think the only way to hit this is to send an buggy request, and ask for a table which doesn't exist, so there's no point treating this as a real fix. I only noticed it because a syzbot repro depended on it to trigger another bug. Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions