]> 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)
commitb23ed84b1dea003434001845515158be67368cb9
tree2a3ee2548cfe25527e1f7d79ca3054028f9d8df8
parent5ae9511b289d957146c9e1e6817db00e609ca109
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