Replies: 3 comments
-
It must support 1 level of nesting though. |
Beta Was this translation helpful? Give feedback.
0 replies
-
At least investigation should be done on if verifier can handle 1+ level of nesting. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
Request: ebpf-for-windows should not allow multi-level nesting for map_of_maps. The inner map should not be another map-in-map.
Example of multi-level nesting:
Outer map: BPF_MAP_TYPE_ARRAY_OF_MAPS/BPF_MAP_TYPE_HASH_OF_MAPS
Inner map: BPF_MAP_TYPE_ARRAY_OF_MAPS/BPF_MAP_TYPE_HASH_OF_MAPS
Compatibility with Linux eBPF:
As per Linux doc https://docs.kernel.org/bpf/map_of_maps.html
OS information
Windows 10 and above
Steps taken to reproduce bug
Map-in-map sample:
Expected behavior
bpf2c should flag an error, to unsupport more than 1 level of nesting.
Actual outcome
Currently, multi-level nesting is allowed.
Additional details
No response
Beta Was this translation helpful? Give feedback.
All reactions