bpf: convert temp arrays to kvcalloc
authorAlexei Starovoitov <ast@kernel.org>
Tue, 2 Apr 2019 04:27:43 +0000 (21:27 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 3 Apr 2019 23:27:38 +0000 (01:27 +0200)
commit71dde681a8cea1ccff2c7b3be83c043ab6b2a977
treeaa61a0ecaa19dd6476634403f595c80b2c0a1ca5
parent25af32dad8047d180e70e233c85b909dd6587cc5
bpf: convert temp arrays to kvcalloc

Temporary arrays used during program verification need to be vmalloc-ed
to support large bpf programs.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
kernel/bpf/verifier.c