bpf: Backport __BPF_FUNC_MAPPER and annotation from mainline
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I4NI6R CVE: NA -------------------------------- BPF program call helper functions according to bpf_func_id. Misorder id of helper function will destroy the consistency of BPF program, making it unusable in other versions. Let's backport __BPF_FUNC_MAPPER and the corresponding annotation from mainline. Signed-off-by:Pu Lehui <pulehui@huawei.com> Reviewed-by:
Kuohai Xu <xukuohai@huawei.com> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Loading
Please sign in to comment