diff options
author | 2024-05-23 10:41:59 -0700 | |
---|---|---|
committer | 2024-06-03 20:52:42 -0700 | |
commit | f19caf57d80f4432acea61d858d45ce194444389 (patch) | |
tree | 3c3ae664d5c0edac1fedef8d4989d440830107fe /tools/lib/bpf/libbpf.c | |
parent | bpf: look into the types of the fields of a struct type recursively. (diff) | |
download | linux-rng-f19caf57d80f4432acea61d858d45ce194444389.tar.xz linux-rng-f19caf57d80f4432acea61d858d45ce194444389.zip |
bpf: limit the number of levels of a nested struct type.
Limit the number of levels looking into struct types to avoid running out
of stack space.
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Signed-off-by: Kui-Feng Lee <thinker.li@gmail.com>
Link: https://lore.kernel.org/r/20240523174202.461236-7-thinker.li@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions