summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2019-05-21 20:14:20 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2019-05-23 16:20:57 +0200
commit7c0c6095d48dcd0e67c917aa73cdbb2715aafc36 (patch)
tree973bcd22387f0268739482009a3c04560bc95909 /mm
parentb285fcb760da7aa87d6d31e6c6a4907d82d9299c (diff)
selftests/bpf: adjust verifier scale test
Adjust scale tests to check for new jmp sequence limit. BPF_JGT had to be changed to BPF_JEQ because the verifier was too smart. It tracked the known safe range of R0 values and pruned the search earlier before hitting exact 8192 limit. bpf_semi_rand_get() was too (un)?lucky. k = 0; was missing in bpf_fill_scale2. It was testing a bit shorter sequence of jumps than intended. Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions