xref: /linux/tools/testing/selftests/bpf/progs/kfunc_call_race.c (revision 249ebf3f65f8530beb2cbfb91bff1d83ba88d23c)
1 // SPDX-License-Identifier: GPL-2.0
2 #include <vmlinux.h>
3 #include <bpf/bpf_helpers.h>
4 #include "../bpf_testmod/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