Re: [PATCH bpf-next] bpf: Increase MAX_NR_MAPS to 17 in test_verifier.c

2019-04-18 Thread Alexei Starovoitov
On Thu, Apr 18, 2019 at 2:34 PM Martin KaFai Lau wrote: > > map_fds[16] is the last one index-ed by fixup_map_array_small. > Hence, the MAX_NR_MAPS should be 17 instead. > > Fixes: fb2abb73e575 ("bpf, selftest: test {rd, wr}only flags and direct value > access") > Signed-off-by: Martin KaFai Lau

Re: [PATCH bpf-next] bpf: Increase MAX_NR_MAPS to 17 in test_verifier.c

2019-04-18 Thread Yonghong Song
On 4/18/19 2:33 PM, Martin KaFai Lau wrote: > map_fds[16] is the last one index-ed by fixup_map_array_small. > Hence, the MAX_NR_MAPS should be 17 instead. > > Fixes: fb2abb73e575 ("bpf, selftest: test {rd, wr}only flags and direct value > access") > Signed-off-by: Martin KaFai Lau Acked-by:

[PATCH bpf-next] bpf: Increase MAX_NR_MAPS to 17 in test_verifier.c

2019-04-18 Thread Martin KaFai Lau
map_fds[16] is the last one index-ed by fixup_map_array_small. Hence, the MAX_NR_MAPS should be 17 instead. Fixes: fb2abb73e575 ("bpf, selftest: test {rd, wr}only flags and direct value access") Signed-off-by: Martin KaFai Lau --- tools/testing/selftests/bpf/test_verifier.c | 2 +- 1 file chang