aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2023-12-13 15:14:31 -0800
committerJakub Kicinski <[email protected]>2023-12-14 17:51:21 -0800
commit461f25a2e4334767d3e306b08dbda054da1aaa30 (patch)
tree709bb564c769d6d997a647b5aee901736ca8481f /tools/testing/selftests/bpf/progs/test_autoload.c
parentaa75783b95a1e7fc09129f5364476e6effe47392 (diff)
tools: ynl-gen: store recursive nests by a pointer
To avoid infinite nesting store recursive structs by pointer. If recursive struct is placed in the op directly - the first instance can be stored by value. That makes the code much less of a pain for majority of practical uses. Reviewed-by: Donald Hunter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions