diff options
author | Hou Tao <[email protected]> | 2024-12-06 19:06:16 +0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2024-12-06 09:14:26 -0800 |
commit | eae6a075e9537dd69891cf77ca5a88fa8a28b4a1 (patch) | |
tree | 27fa885d13b42dac23fd4c265893fd8760784eca /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 3d5611b4d7efbefb85a74fcdbc35c603847cc022 (diff) |
bpf: Handle BPF_EXIST and BPF_NOEXIST for LPM trie
Add the currently missing handling for the BPF_EXIST and BPF_NOEXIST
flags. These flags can be specified by users and are relevant since LPM
trie supports exact matches during update.
Fixes: b95a5c4db09b ("bpf: add a longest prefix match trie map implementation")
Reviewed-by: Toke Høiland-Jørgensen <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Signed-off-by: Hou Tao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions