linux-zen-desktop/tools/testing/selftests/bpf/progs/kfunc_call_race.c

14 lines
274 B
C
Raw Normal View History

2023-08-30 16:31:07 +01:00
// SPDX-License-Identifier: GPL-2.0
#include <vmlinux.h>
#include <bpf/bpf_helpers.h>
2023-10-24 11:59:35 +01:00
#include "../bpf_testmod/bpf_testmod_kfunc.h"
2023-08-30 16:31:07 +01:00
SEC("tc")
int kfunc_call_fail(struct __sk_buff *ctx)
{
bpf_testmod_test_mod_kfunc(0);
return 0;
}
char _license[] SEC("license") = "GPL";