Daniel Borkmann 322cea2f41 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>
2016-03-25 11:36:41 -04:00
..
2015-12-04 22:46:25 +01:00
2016-03-22 15:36:02 -07:00
2016-03-22 15:36:02 -07:00
2015-11-19 17:51:48 +01:00
2016-01-22 18:04:28 -05:00
2016-02-08 11:25:39 -05:00
2015-12-14 14:54:37 -05:00
2016-03-12 20:57:38 +01:00
2016-03-22 15:36:02 -07:00
2016-03-22 15:36:02 -07:00
2015-11-23 09:44:58 +01:00
2016-03-22 15:36:02 -07:00
2016-03-22 15:36:02 -07:00
2016-03-22 15:36:02 -07:00
2016-02-16 13:04:58 -05:00
2016-01-22 18:04:28 -05:00
2016-03-01 20:36:56 +01:00