diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2018-07-11 00:43:07 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-07-11 23:13:34 +0300 |
commit | 3ff5a4dc5d890963e669fc99cc62ee07d1da24e8 (patch) | |
tree | 227ec4a474eaa03236f5ce8df1df25d890846ee4 /kernel/module-internal.h | |
parent | 26736eb9a483715c2e971a8866f55fbb156903e2 (diff) | |
download | linux-3ff5a4dc5d890963e669fc99cc62ee07d1da24e8.tar.xz |
tools: bpftool: allow reuse of maps with bpftool prog load
Add map parameter to prog load which will allow reuse of existing
maps instead of creating new ones.
We need feature detection and compat code for reallocarray, since
it's not available in many libc versions.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'kernel/module-internal.h')
0 files changed, 0 insertions, 0 deletions