]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bpf: limit the number of levels of a nested struct type.
authorKui-Feng Lee <thinker.li@gmail.com>
Thu, 23 May 2024 17:41:59 +0000 (10:41 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 4 Jun 2024 03:52:42 +0000 (20:52 -0700)
commitf19caf57d80f4432acea61d858d45ce194444389
tree3c3ae664d5c0edac1fedef8d4989d440830107fe
parent64e8ee814819f21beeeda00d4119221443d77992
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>
kernel/bpf/btf.c