cilium / ebpf

ebpf-go is a pure-Go library to read, modify and load eBPF programs and attach them to various hooks in the Linux kernel.

Home Page:https://ebpf-go.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MapFiles are not cleaned properly

Atul-source opened this issue · comments

Describe the bug

During the process of unpinning eBPF maps, the map files are not always removed in certain machines.

How to reproduce

Any program that has pinned eBPF maps can be used for reproduction. I have encountered this issue on certain machines, while others are unaffected.

Version information

github.com/cilium/ebpf v0.12.3

Hi, please provide source code that exhibits the bug.

Closing due to inactivity, and because I have my doubts about the validity of this claim. The map pinning code is very well battle-tested. If you have questions about the usage of the API, please open a GH Discussion on this repo. Maybe we can improve the documentation if something's not clear.