Skip to content

Commit 62da3ac

Browse files
anakryikoAlexei Starovoitov
authored andcommitted
selftests/bpf: fix inet_csk_accept prototype in test_sk_storage_tracing.c
Recent kernel change ([0]) changed inet_csk_accept() prototype. Adapt progs/test_sk_storage_tracing.c to take that into account. [0] 92ef0fd ("net: change proto and proto_ops accept type") Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/r/20240528223218.3445297-1-andrii@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
1 parent d8ec198 commit 62da3ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/testing/selftests/bpf/progs/test_sk_storage_tracing.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ int BPF_PROG(trace_tcp_connect, struct sock *sk)
8484
}
8585

8686
SEC("fexit/inet_csk_accept")
87-
int BPF_PROG(inet_csk_accept, struct sock *sk, int flags, int *err, bool kern,
87+
int BPF_PROG(inet_csk_accept, struct sock *sk, struct proto_accept_arg *arg,
8888
struct sock *accepted_sk)
8989
{
9090
set_task_info(accepted_sk);

0 commit comments

Comments
 (0)