Closed frankdjx closed 1 month ago
Any document or code about this limit? Why not using bpf_map_delete_elem when removing the udp port from filter?
No. The eBPF map use locked memory, it depends on many runtime factor. Anyway it should avoid to create a huge static eBPF array map.
BPF_MAP_TYPE_ARRAY size is limited cause udp4_dp_filter_fd update fail(-7)