Re: [PATCH net] bpf: fix map value attribute for hash of maps

2017-08-22 Thread Martin KaFai Lau
On Wed, Aug 23, 2017 at 12:06:09AM +0200, Daniel Borkmann wrote: > Currently, iproute2's BPF ELF loader works fine with array of maps > when retrieving the fd from a pinned node and doing a selfcheck > against the provided map attributes from the object file, but we > fail to do the same for hash o

[PATCH net] bpf: fix map value attribute for hash of maps

2017-08-22 Thread Daniel Borkmann
Currently, iproute2's BPF ELF loader works fine with array of maps when retrieving the fd from a pinned node and doing a selfcheck against the provided map attributes from the object file, but we fail to do the same for hash of maps and thus refuse to get the map from pinned node. Reason is that w