diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2016-03-24 23:30:25 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-25 15:36:41 (GMT) |
commit | 322cea2f41adb62c975f46a3242f4e3b43226fa1 (patch) | |
tree | 706f3bcffd78159e7cf735074ed7aacb0dfde437 /drivers/net | |
parent | 543e3a8da5a4c453e992d5351ef405d5e32f27d7 (diff) | |
download | linux-322cea2f41adb62c975f46a3242f4e3b43226fa1.tar.xz |
bpf: add missing map_flags to bpf_map_show_fdinfo
Add map_flags attribute to bpf_map_show_fdinfo(), so that tools like
tc can check for them when loading objects from a pinned entry, e.g.
if user intent wrt allocation (BPF_F_NO_PREALLOC) is different to the
pinned object, it can bail out. Follow-up to 6c9059817432 ("bpf:
pre-allocate hash map elements"), so that tc can still support this
with v4.6.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions