Skip to content
Commit 3eefb2fb authored by Jakub Sitnicki's avatar Jakub Sitnicki Committed by Greg Kroah-Hartman
Browse files

selftests/bpf: Test tail call counting with bpf2bpf and data on stack



[ Upstream commit 5e0b0a4c ]

Cover the case when tail call count needs to be passed from BPF function to
BPF function, and the caller has data on stack. Specifically when the size
of data allocated on BPF stack is not a multiple on 8.

Signed-off-by: default avatarJakub Sitnicki <jakub@cloudflare.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20220616162037.535469-3-jakub@cloudflare.com


Stable-dep-of: 96daa987 ("selftests/bpf: Correct map_fd to data_fd in tailcalls")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent ab91992e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment