mirror of https://github.com/aya-rs/aya
aya-bpf/maps: Create LPMTrie with BPF_F_NO_PREALLOC
The Linux kernel requires BPF_F_NO_PREALLOC on creating LPMTrie ([0]). Add BPF_F_NO_PREALLOC flag in LPMTrie constructor. Closes #332. [0]: https://github.com/torvalds/linux/blob/9e6b19a66d9b/kernel/bpf/lpm_trie.c#L551 Signed-off-by: Hengqi Chen <chenhengqi@outlook.com>pull/369/head
parent
c80ab31d7b
commit
e12e8a9ded
Loading…
Reference in New Issue