aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/test/bpf_cgroup
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2024-09-11 16:04:43 +0200
committerAleksandr Nogikh <nogikh@google.com>2024-09-11 14:55:22 +0000
commit7308f9d5a4da8ea4e2a9a0748ceb0921333c11f4 (patch)
tree3c4c0d6bdfd082e089a5514c0c06e7eabec864f9 /sys/linux/test/bpf_cgroup
parentfd0ad8a3f899365059471f5fdefdc73082ce0777 (diff)
prog: allow deeper nesting of conditional fields patching
There is a totally valid situation when we could be recursively patching conditional fields: if by changing a field's value we insert new resource constructor calls. It's a bug to skip conditional field patching for them. Allow up to 2 nested patchConditionalFields() calls and panic if there happen to be more. Add a test that reproduces the situation described above.
Diffstat (limited to 'sys/linux/test/bpf_cgroup')
0 files changed, 0 insertions, 0 deletions