Files
linux-stable-mirror/include/linux
Alexei Starovoitov 7ddc80a476 bpf: Teach stack depth check about async callbacks.
Teach max stack depth checking algorithm about async callbacks
that don't increase bpf program stack size.
Also add sanity check that bpf_tail_call didn't sneak into async cb.
It's impossible, since PTR_TO_CTX is not available in async cb,
hence the program cannot contain bpf_tail_call(ctx,...);

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/bpf/20210715005417.78572-10-alexei.starovoitov@gmail.com
2021-07-15 22:31:10 +02:00
..
2021-06-18 08:53:35 -06:00
2021-06-29 10:53:48 -07:00
2021-06-29 10:53:48 -07:00
2021-06-17 13:09:27 -04:00
2021-06-29 10:53:53 -07:00
2021-07-07 20:01:45 -07:00
2021-06-29 10:53:49 -07:00
2021-06-24 19:40:53 -07:00