aboutsummaryrefslogtreecommitdiff
path: root/tools/bpf/resolve_btfids/main.c
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <[email protected]>2021-11-22 20:17:41 +0530
committerAndrii Nakryiko <[email protected]>2021-12-02 13:39:46 -0800
commitb12f031043247b80999bf5e03b8cded3b0b40f8d (patch)
treedab61f9512dee774fa85bedee54ee70439f8a66a /tools/bpf/resolve_btfids/main.c
parentd9847eb8be3d895b2b5f514fdf3885d47a0b92a2 (diff)
bpf: Fix bpf_check_mod_kfunc_call for built-in modules
When module registering its set is built-in, THIS_MODULE will be NULL, hence we cannot return early in case owner is NULL. Fixes: 14f267d95fe4 ("bpf: btf: Introduce helpers for dynamic BTF set registration") Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Song Liu <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/bpf/resolve_btfids/main.c')
0 files changed, 0 insertions, 0 deletions