Skip to content

Commit 866d571

Browse files
Martin KaFai LauAlexei Starovoitov
authored andcommitted
bpf: Export bpf_base_func_proto
The bpf_testmod needs to use the bpf_tail_call helper in a later selftest patch. This patch is to EXPORT_GPL_SYMBOL the bpf_base_func_proto. Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org> Link: https://lore.kernel.org/r/20240829210833.388152-5-martin.lau@linux.dev Signed-off-by: Alexei Starovoitov <ast@kernel.org>
1 parent 169c317 commit 866d571

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

kernel/bpf/helpers.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2034,6 +2034,7 @@ bpf_base_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog)
20342034
return NULL;
20352035
}
20362036
}
2037+
EXPORT_SYMBOL_GPL(bpf_base_func_proto);
20372038

20382039
void bpf_list_head_free(const struct btf_field *field, void *list_head,
20392040
struct bpf_spin_lock *spin_lock)

0 commit comments

Comments
 (0)