+20
−3
Loading
stable inclusion from stable-v6.6.66 commit c5325e6e4b6d78827578c19e33436d1ff78449da category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IBFB6E Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c5325e6e4b6d78827578c19e33436d1ff78449da -------------------------------- [ 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: b95a5c4d ("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> Signed-off-by:
Tengda Wu <wutengda2@huawei.com>