selftests/bpf: fix inet_csk_accept prototype in test_sk_storage_tracing.c
Subsystems (3)
Andrii Nakryiko
maintainerPATCH 1/1 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] 92ef0fd55ac8 ("net: change proto and proto_ops accept type")
Signed-off-by Andrii Nakryiko <[email protected]>
--- tools/testing/selftests/bpf/progs/test_sk_storage_tracing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/bpf/progs/test_sk_storage_tracing.c +1 -1
@@ -84,7 +84,7 @@ int BPF_PROG(trace_tcp_connect, struct sock *sk) } SEC("fexit/inet_csk_accept") -int BPF_PROG (inet_csk_accept ,struct sock *sk,int flags,int *err,bool kern, +int BPF_PROG (inet_csk_accept ,struct sock *sk,struct proto_accept_arg *arg,struct sock *accepted_sk) {set_task_info (accepted_sk);
Signature · 1 line
2.43.0
This patch was applied to bpf/bpf.git (master) by Alexei Starovoitov <[email protected]>:
Hello:
This patch was applied to bpf/bpf.git (master)
by Alexei Starovoitov <[email protected]>:
Quoted 8 lines · On Tue, 28 May 2024 15:32:18 -0700 you wrote:
Recent kernel change ([0]) changed
inet_csk_accept()prototype. Adaptprogs/test_sk_storage_tracing.cto take that into account.[0]
92ef0fd55ac8("net: change proto andproto_opsaccept type")Signed-off-by Andrii Nakryiko <[email protected]>[...]
Here is the summary with links:
- [bpf-next] selftests/bpf: fix inet_csk_accept prototype in test_sk_storage_tracing.c
https://git.kernel.org/bpf/bpf/c/9dfdb706e164
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html