selftests/bpf: fix tests due to const spill/fill
authorAlexei Starovoitov <ast@kernel.org>
Sat, 15 Jun 2019 19:12:18 +0000 (12:12 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 19 Jun 2019 00:22:51 +0000 (02:22 +0200)
commitfc559a70d57c6ee5443f7a750858503e94cdc941
tree83cbbd86ed11bccb5ee5eb088f45e91bbfcc3253
parentf7cf25b2026dc8441e0fa3a202c2aa8a56211e30
selftests/bpf: fix tests due to const spill/fill

fix tests that incorrectly assumed that the verifier
cannot track constants through stack.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/verifier/direct_packet_access.c
tools/testing/selftests/bpf/verifier/helper_access_var_len.c