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-12-14 19:48:22 +01:00
2024-12-14 19:47:47 +01:00
2020-04-07 10:43:42 -07:00
2024-08-19 05:41:03 +02:00
2024-09-12 11:06:39 +02:00
2023-01-04 11:39:22 +01:00
2024-10-17 15:08:26 +02:00
2023-11-20 11:06:44 +01:00
2024-07-05 09:12:41 +02:00
2024-08-19 05:41:19 +02:00
2023-07-27 08:43:57 +02:00
2024-06-21 14:52:58 +02:00
2024-10-17 15:08:05 +02:00
2024-04-13 12:58:13 +02:00
2024-04-13 12:58:54 +02:00
2024-12-14 19:47:42 +01:00
2024-08-19 05:41:14 +02:00
2024-12-14 19:47:45 +01:00
2024-12-14 19:47:57 +01:00
2021-05-11 14:47:37 +02:00
2023-01-14 10:16:14 +01:00
2024-02-23 08:41:53 +01:00
2024-06-21 14:53:39 +02:00
2024-06-21 14:53:39 +02:00
2024-06-21 14:53:39 +02:00
2024-02-23 08:42:03 +01:00
2022-04-08 14:40:00 +02:00
2024-07-18 13:05:44 +02:00
2023-09-19 12:20:13 +02:00
2020-07-30 11:15:58 -07:00
2024-05-02 16:23:46 +02:00
2020-10-13 09:17:34 -07:00
2023-04-05 11:23:45 +02:00
2020-06-11 15:14:36 +02:00
2021-09-15 09:50:40 +02:00
2024-05-02 16:23:44 +02:00
2021-06-23 14:42:52 +02:00
2020-04-15 11:21:54 +02:00
2023-12-20 15:44:30 +01:00
2024-07-18 13:05:42 +02:00
2020-04-07 10:43:42 -07:00
2023-03-11 16:40:18 +01:00
2024-06-21 14:52:47 +02:00
2021-04-07 15:00:14 +02:00
2024-07-05 09:12:44 +02:00
2020-10-13 09:17:34 -07:00
2020-11-02 12:14:19 -08:00
2020-05-28 10:54:15 +02:00
2021-07-20 16:05:58 +02:00
2024-10-17 15:08:29 +02:00
2024-06-21 14:52:48 +02:00
2024-07-05 09:12:41 +02:00
2023-07-27 08:43:40 +02:00
2023-06-21 15:45:37 +02:00
2023-04-20 12:10:29 +02:00
2023-04-20 12:10:29 +02:00
2023-05-17 11:47:33 +02:00
2020-08-12 10:58:01 -07:00
2024-10-17 15:07:37 +02:00
2023-04-20 12:10:29 +02:00
2024-10-17 15:07:50 +02:00
2020-04-27 02:07:40 -04:00
2023-01-14 10:15:20 +01:00
2021-03-25 09:04:11 +01:00
2021-03-25 09:04:11 +01:00
2024-10-17 15:08:29 +02:00
2020-09-01 09:58:03 +02:00
2020-07-08 11:14:22 +02:00
2024-10-17 15:08:03 +02:00
2024-04-13 12:59:40 +02:00
2024-06-16 13:32:26 +02:00
2024-07-05 09:12:33 +02:00
2024-06-21 14:53:17 +02:00
2022-08-21 15:16:05 +02:00
2022-06-09 10:20:49 +02:00
2020-10-16 11:11:19 -07:00
2023-11-28 16:54:58 +00:00
2020-07-27 14:31:12 -04:00
2023-05-17 11:47:34 +02:00
2024-10-17 15:08:36 +02:00
2022-04-08 14:40:03 +02:00
2023-09-23 11:01:05 +02:00
2020-08-07 11:33:25 -07:00
2024-03-01 13:16:46 +01:00
2024-10-17 15:08:12 +02:00
2024-09-12 11:06:48 +02:00
2021-07-14 16:55:50 +02:00
2020-09-16 15:18:56 +02:00
2022-02-23 12:01:00 +01:00
2020-09-18 14:24:16 +01:00
2021-09-08 08:49:00 +02:00
2020-10-26 12:12:27 +01:00
2024-07-05 09:12:55 +02:00
2024-06-21 14:52:58 +02:00
2024-06-21 14:53:18 +02:00
2024-08-19 05:40:57 +02:00
2020-10-02 19:11:12 -07:00
2023-08-30 16:23:17 +02:00
2021-09-03 10:09:30 +02:00
2022-01-27 10:54:33 +01:00
2024-06-21 14:53:06 +02:00
2020-10-06 10:31:52 -07:00
2021-05-14 09:50:46 +02:00
2021-09-08 08:49:00 +02:00
2020-06-04 19:06:24 -07:00
2021-03-30 14:32:03 +02:00
2020-04-27 02:07:40 -04:00
2020-05-09 13:57:12 +02:00
2023-03-17 08:45:13 +01:00
2024-08-19 05:41:01 +02:00
2023-11-28 16:54:56 +00:00
2023-12-08 08:46:13 +01:00