xref: /linux/tools/testing/selftests/bpf/progs/kfunc_call_race.c (revision 2151003e773c7e7dba4d64bed4bfc483681b5f6a)
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