diff options
author | Mauricio Vásquez <mauricio@kinvolk.io> | 2022-02-07 09:50:51 -0500 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2022-02-07 12:12:22 -0800 |
commit | da7af0aa20f8ad89f09d50d262e44cd5eafab816 (patch) | |
tree | d5b193dcb48ee5a22d32d70842963e0b2e5bd8ef /net/openvswitch | |
parent | e4e835c87bb5ef7e7923e72da57c923bfcade418 (diff) | |
download | linux-da7af0aa20f8ad89f09d50d262e44cd5eafab816.tar.bz2 |
bpftool: Fix strict mode calculation
"(__LIBBPF_STRICT_LAST - 1) & ~LIBBPF_STRICT_MAP_DEFINITIONS" is wrong
as it is equal to 0 (LIBBPF_STRICT_NONE). Let's use
"LIBBPF_STRICT_ALL & ~LIBBPF_STRICT_MAP_DEFINITIONS" now that the
previous commit makes it possible in libbpf.
Fixes: 93b8952d223a ("libbpf: deprecate legacy BPF map definitions")
Signed-off-by: Mauricio Vásquez <mauricio@kinvolk.io>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220207145052.124421-3-mauricio@kinvolk.io
Diffstat (limited to 'net/openvswitch')
0 files changed, 0 insertions, 0 deletions