]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Verifer, refactor adjust_scalar_min_max_vals
authorJohn Fastabend <john.fastabend@gmail.com>
Tue, 24 Mar 2020 17:38:15 +0000 (10:38 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 26 Mar 2020 05:51:39 +0000 (22:51 -0700)
commit90273f4a9f470a3da9cd04bdf3750ffba19586b2
treecebc451ae7807a748231d8e5f7a434e722500d86
parent15242fda8bf7cc91dc4455649c1972c596787598
bpf: Verifer, refactor adjust_scalar_min_max_vals

Pull per op ALU logic into individual functions. We are about to add
u32 versions of each of these by pull them out the code gets a bit
more readable here and nicer in the next patch.

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/158507149518.15666.15672349629329072411.stgit@john-Precision-5820-Tower
kernel/bpf/verifier.c