diff options
author | Jakub Kicinski <[email protected]> | 2023-12-13 15:14:31 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-12-14 17:51:21 -0800 |
commit | 461f25a2e4334767d3e306b08dbda054da1aaa30 (patch) | |
tree | 709bb564c769d6d997a647b5aee901736ca8481f /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | aa75783b95a1e7fc09129f5364476e6effe47392 (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