aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2024-08-20 18:34:25 -0700
committerMartin KaFai Lau <[email protected]>2024-08-21 23:19:33 -0700
commitaf8a066f1c473261881a6d8e2b55cca8eda9ce80 (patch)
tree49e111b2e36b61425a59b07fef31b4a1a118a508 /tools/perf/scripts/python/gecko.py
parentdb163778016b3a491d79d10a910d059c20f88f83 (diff)
selftest: bpf: Remove mssind boundary check in test_tcp_custom_syncookie.c.
Smatch reported a possible off-by-one in tcp_validate_cookie(). However, it's false positive because the possible range of mssind is limited from 0 to 3 by the preceding calculation. mssind = (cookie & (3 << 6)) >> 6; Now, the verifier does not complain without the boundary check. Let's remove the checks. Reported-by: Dan Carpenter <[email protected]> Closes: https://lore.kernel.org/bpf/[email protected]/ Signed-off-by: Kuniyuki Iwashima <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions