]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bpf: selftests: Test constant key extraction on irrelevant maps
authorDaniel Xu <dxu@dxuuu.xyz>
Tue, 4 Feb 2025 17:25:17 +0000 (10:25 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 7 Feb 2025 23:45:44 +0000 (15:45 -0800)
commit973cb1382ead401c476c82f20525e593ae84788f
treeef47505d828d1f0e7190dd30571b39b5a650d3d9
parent884c3a18dadfda326dffa364477cc027728219de
bpf: selftests: Test constant key extraction on irrelevant maps

Test that very high constant map keys are not interpreted as an error
value by the verifier. This would previously fail.

Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
Link: https://lore.kernel.org/r/c0590b62eb9303f389b2f52c0c7e9cf22a358a30.1738689872.git.dxu@dxuuu.xyz
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/progs/verifier_array_access.c