xref: /linux/tools/testing/selftests/bpf/progs/kfunc_call_race.c (revision bb58e1579f431d42469b6aed0f03eff383ba6db5)
1 // SPDX-License-Identifier: GPL-2.0
2 #include <vmlinux.h>
3 #include <bpf/bpf_helpers.h>
4 #include "../test_kmods/bpf_testmod_kfunc.h"
5 
6 SEC("tc")
7 int kfunc_call_fail(struct __sk_buff *ctx)
8 {
9 	bpf_testmod_test_mod_kfunc(0);
10 	return 0;
11 }
12 
13 char _license[] SEC("license") = "GPL";
14