aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorJaehee Park <[email protected]>2022-07-20 14:36:32 -0400
committerJakub Kicinski <[email protected]>2022-07-21 19:11:10 -0700
commitb66eb3a6e427b059101c6c92ac2ddd899014634c (patch)
treee581fe1728b8971985287f5cade945b5c0530e70 /tools/perf/scripts/python/check-perf-trace.py
parent842463f253abde9a0de19a4b9e83a6c28ac9364b (diff)
net: ipv6: avoid accepting values greater than 2 for accept_untracked_na
The accept_untracked_na sysctl changed from a boolean to an integer when a new knob '2' was added. This patch provides a safeguard to avoid accepting values that are not defined in the sysctl. When setting a value greater than 2, the user will get an 'invalid argument' warning. Fixes: aaa5f515b16b ("net: ipv6: new accept_untracked_na option to accept na only if in-network") Signed-off-by: Jaehee Park <[email protected]> Suggested-by: Nicolas Dichtel <[email protected]> Suggested-by: Roopa Prabhu <[email protected]> Reviewed-by: Nicolas Dichtel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions