]> git.baikalelectronics.ru Git - kernel.git/commit
libbpf: use map_flags when creating maps
authorCraig Gallek <kraig@google.com>
Thu, 5 Oct 2017 14:41:58 +0000 (10:41 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Oct 2017 04:42:28 +0000 (21:42 -0700)
commitcf478212486fc38f0d02d01dc8da5064d6d5e9f7
treedb13337e93443d1dca5cb7cd0d7480aa6862f5d6
parent3e9b57af29bcf4b518372381fff39e298fab6414
libbpf: use map_flags when creating maps

This is required to use BPF_MAP_TYPE_LPM_TRIE or any other map type
which requires flags.

Signed-off-by: Craig Gallek <kraig@google.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/lib/bpf/libbpf.c
tools/lib/bpf/libbpf.h