On 11/27/24 1:46 AM, Hou Tao wrote:
From: Hou Tao <houtao1@xxxxxxxxxx> 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@xxxxxxxxxx> Signed-off-by: Hou Tao <houtao1@xxxxxxxxxx>
Acked-by: Daniel Borkmann <daniel@xxxxxxxxxxxxx> Too bad that existing code only bailed out upon 'flags > BPF_EXIST', so yes, this needs to go through stable eventually.