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