Skip to content

cilium/ebpf: fix Map handling#1242

Merged
christos68k merged 2 commits intoopen-telemetry:renovate/go-dependenciesfrom
florianl:fix-cilium-ebpf-map
Mar 11, 2026
Merged

cilium/ebpf: fix Map handling#1242
christos68k merged 2 commits intoopen-telemetry:renovate/go-dependenciesfrom
florianl:fix-cilium-ebpf-map

Conversation

@florianl
Copy link
Copy Markdown
Member

The behaviour of VariableSpec.Set() changed in cilium/ebpf v0.21.0. Until v0.20.0, calling Set() directly modified the underlying MapSpec.Contents[0] byte slice, so variables were written into the map data before cebpf.NewMap() was called. Starting from v0.21.0, Set() only updates VariableSpec.Value.

renovate Bot and others added 2 commits March 10, 2026 13:11
The behaviour of VariableSpec.Set() changed in cilium/ebpf v0.21.0. Until v0.20.0, calling Set() directly modified the underlying MapSpec.Contents[0] byte slice, so variables were written into the map data before cebpf.NewMap() was called. Starting from v0.21.0, Set() only updates VariableSpec.Value.

Signed-off-by: Florian Lehner <dev@der-flo.net>
@florianl florianl requested review from a team as code owners March 10, 2026 19:51
@renovate renovate Bot force-pushed the renovate/go-dependencies branch from c7ee993 to 896a933 Compare March 10, 2026 21:00
@christos68k christos68k merged commit a479813 into open-telemetry:renovate/go-dependencies Mar 11, 2026
30 checks passed
florianl added a commit that referenced this pull request Mar 11, 2026
Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
florianl added a commit that referenced this pull request Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants