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)
commit4bd95f4b99e921f51783bfddcd9738e9d3eef2b5
tree2a3ee2548cfe25527e1f7d79ca3054028f9d8df8
parentde0a444ddae61b77683c27cd390e518e33858d20
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