Hou Tao adb4a970bf bpf: Handle BPF_EXIST and BPF_NOEXIST for LPM trie
[ Upstream commit eae6a075e9537dd69891cf77ca5a88fa8a28b4a1 ]

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 <toke@redhat.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Hou Tao <houtao1@huawei.com>
Link: https://lore.kernel.org/r/20241206110622.1161752-4-houtao@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-14 19:48:22 +01:00
..
2024-07-05 09:12:41 +02:00
2023-12-20 15:44:30 +01:00
2024-06-21 14:52:47 +02:00
2023-01-14 10:15:20 +01:00
2020-07-27 14:31:12 -04:00
2024-10-17 15:08:12 +02:00
2020-06-04 19:06:24 -07:00
2020-05-09 13:57:12 +02:00