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
6SEC("tc")
7int kfunc_call_fail(struct __sk_buff *ctx)
8{
9 bpf_testmod_test_mod_kfunc(i: 0);
10 return 0;
11}
12
13char _license[] SEC("license") = "GPL";
14

source code of linux/tools/testing/selftests/bpf/progs/kfunc_call_race.c