commit | 849f257f61ff7dde49d59c62802e5913ff7a7cbb | [log] [tgz] |
---|---|---|
author | Martin KaFai Lau <kafai@fb.com> | Thu Apr 18 14:33:30 2019 -0700 |
committer | Alexei Starovoitov <ast@kernel.org> | Thu Apr 18 16:10:47 2019 -0700 |
tree | ef41039682fbd0ba21141b6797f1c810428e2353 | |
parent | 5de35e3ae9d01796a4909fd0dd8c3660d9316a77 [diff] |
bpf: Increase MAX_NR_MAPS to 17 in test_verifier.c 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 <kafai@fb.com> Acked-by: Yonghong Song <yhs@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>