aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/progs/kfunc_call_race.c
blob: d532af07decf954ca168335446daf1a3e34c81b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// SPDX-License-Identifier: GPL-2.0
#include <vmlinux.h>
#include <bpf/bpf_helpers.h>
#include "../bpf_testmod/bpf_testmod_kfunc.h"

SEC("tc")
int kfunc_call_fail(struct __sk_buff *ctx)
{
	bpf_testmod_test_mod_kfunc(0);
	return 0;
}

char _license[] SEC("license") = "GPL";