aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/cgrp_ls_recursion.c
diff options
context:
space:
mode:
authorGeliang Tang <tanggeliang@kylinos.cn>2024-02-08 14:24:23 +0800
committerMartin KaFai Lau <martin.lau@kernel.org>2024-02-08 11:37:49 -0800
commit947e56f82fd783a1ec1c9359b20b5699d09cae14 (patch)
treed86d4ccbb81089e586156921f3bc70d759d02936 /tools/testing/selftests/bpf/progs/cgrp_ls_recursion.c
parent9e60b0e02550aaf5f2301e49353641a5e3701674 (diff)
bpf, btf: Check btf for register_bpf_struct_ops
Similar to the handling in the functions __register_btf_kfunc_id_set() and register_btf_id_dtor_kfuncs(), this patch uses the newly added helper check_btf_kconfigs() to handle module with its btf section stripped. While at it, the patch also adds the missed IS_ERR() check to fix the commit f6be98d19985 ("bpf, net: switch to dynamic registration") Fixes: f6be98d19985 ("bpf, net: switch to dynamic registration") Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn> Link: https://lore.kernel.org/r/69082b9835463fe36f9e354bddf2d0a97df39c2b.1707373307.git.tanggeliang@kylinos.cn Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/cgrp_ls_recursion.c')
0 files changed, 0 insertions, 0 deletions