]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: add upper complexity limit to verifier log
authorDaniel Borkmann <daniel@iogearbox.net>
Sat, 20 Jan 2018 00:24:36 +0000 (01:24 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 20 Jan 2018 02:37:00 +0000 (18:37 -0800)
commit48ad9c10ba82ed16d6fa329734e99252b46db85b
tree2a3ee2548cfe25527e1f7d79ca3054028f9d8df8
parent5972230bcdeb9000559303bde38b955d17fd6866
bpf: add upper complexity limit to verifier log

Given the limit could potentially get further adjustments in the
future, add it to the log so it becomes obvious what the current
limit is w/o having to check the source first. This may also be
helpful for debugging complexity related issues on kernels that
backport from upstream.

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