mbox series

[bpf-next,v2,0/2] Fix tail call counting with bpf2bpf

Message ID 20220616162037.535469-1-jakub@cloudflare.com (mailing list archive)
Headers show
Series Fix tail call counting with bpf2bpf | expand

Message

Jakub Sitnicki June 16, 2022, 4:20 p.m. UTC
Please see patch 1 for the explanation of the problem.
Patch 2 adds a test so that we don't regress.

v1 -> v2:
- switch from __attibute__((always_unused)) to unused to avoid CI failures.

Jakub Sitnicki (2):
  bpf, x86: Fix tail call count offset calculation on bpf2bpf call
  selftests/bpf: Test tail call counting with bpf2bpf and data on stack

 arch/x86/net/bpf_jit_comp.c                   |  3 +-
 .../selftests/bpf/prog_tests/tailcalls.c      | 55 +++++++++++++++++++
 .../selftests/bpf/progs/tailcall_bpf2bpf6.c   | 42 ++++++++++++++
 3 files changed, 99 insertions(+), 1 deletion(-)
 create mode 100644 tools/testing/selftests/bpf/progs/tailcall_bpf2bpf6.c

Comments

patchwork-bot+netdevbpf@kernel.org June 16, 2022, 7:50 p.m. UTC | #1
Hello:

This series was applied to bpf/bpf.git (master)
by Daniel Borkmann <daniel@iogearbox.net>:

On Thu, 16 Jun 2022 18:20:35 +0200 you wrote:
> Please see patch 1 for the explanation of the problem.
> Patch 2 adds a test so that we don't regress.
> 
> v1 -> v2:
> - switch from __attibute__((always_unused)) to unused to avoid CI failures.
> 
> Jakub Sitnicki (2):
>   bpf, x86: Fix tail call count offset calculation on bpf2bpf call
>   selftests/bpf: Test tail call counting with bpf2bpf and data on stack
> 
> [...]

Here is the summary with links:
  - [bpf-next,v2,1/2] bpf, x86: Fix tail call count offset calculation on bpf2bpf call
    https://git.kernel.org/bpf/bpf/c/ff672c67ee76
  - [bpf-next,v2,2/2] selftests/bpf: Test tail call counting with bpf2bpf and data on stack
    https://git.kernel.org/bpf/bpf/c/5e0b0a4c52d3

You are awesome, thank you!