commit | e6054fc1f865ac46936a6b5517ae2d36554c94f8 | [log] [tgz] |
---|---|---|
author | Yonghong Song <yhs@fb.com> | Tue Sep 08 10:57:03 2020 -0700 |
committer | Alexei Starovoitov <ast@kernel.org> | Tue Sep 08 18:04:07 2020 -0700 |
tree | 5becefbbc55a9fdf4d430224f063c63eab8a2cec | |
parent | 7c6967326267bd5c0dded0a99541357d70dd11ac [diff] |
selftests/bpf: Add test for map_ptr arithmetic Change selftest map_ptr_kern.c with disabling inlining for one of subtests, which will fail the test without previous verifier change. Also added to verifier test for both "map_ptr += scalar" and "scalar += map_ptr" arithmetic. Signed-off-by: Yonghong Song <yhs@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andriin@fb.com> Link: https://lore.kernel.org/bpf/20200908175703.2463721-1-yhs@fb.com