kfunc_call_race.c (283B)
1// SPDX-License-Identifier: GPL-2.0 2#include <vmlinux.h> 3#include <bpf/bpf_helpers.h> 4 5extern void bpf_testmod_test_mod_kfunc(int i) __ksym; 6 7SEC("tc") 8int kfunc_call_fail(struct __sk_buff *ctx) 9{ 10 bpf_testmod_test_mod_kfunc(0); 11 return 0; 12} 13 14char _license[] SEC("license") = "GPL";