On 12/25/2017 10:15 PM, Alexei Starovoitov wrote: > Jann reported an issue with stack depth tracking. Fix it and add tests. > Also fix off-by-one error in MAX_CALL_FRAMES check. > This set is on top of Jann's "selftest for late caller stack size increase" > test. > > Alexei Starovoitov (3): > bpf: fix maximum stack depth tracking logic > selftests/bpf: additional stack depth tests > bpf: fix max call depth check > > include/linux/bpf_verifier.h | 1 + > kernel/bpf/verifier.c | 86 +++++++++++---- > tools/testing/selftests/bpf/test_verifier.c | 156 > ++++++++++++++++++++++++++++ > 3 files changed, 225 insertions(+), 18 deletions(-)
Applied to bpf-next, thanks Alexei!