mirror of https://github.com/aya-rs/aya
aya: Do not use unwrap with btf_fd in bpf_create_map
Fixes a crash when trying to create a map of type BPF_MAP_TYPE_PERCPU_ARRAY when btf_fd is None. Tested on Ubuntu 18.04 (4.15.0-202-generic)pull/580/head
parent
542ada3fe7
commit
7c25fe90a9
Loading…
Reference in New Issue