mirror of https://github.com/aya-rs/aya
aya: fix create pinned map path.
`MapData::create_pinned` is supposed to call `map.pin`(BPF_OBJ_PIN) if `BPF_OBJ_GET` syscall return error, but it joins `name` redundantly, making `path/map_name` to be `path/map_name/map_name`.This commit fixed it.pull/803/head
parent
c547dd7bcc
commit
8e5f1c62e3
Loading…
Reference in New Issue