Re: [PATCH bpf-next] bpf: fix test_progs -j error with fentry/fexit tests

From: patchwork-bot+netdevbpf
Date: Fri Jul 29 2022 - 17:40:22 EST


Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@xxxxxxxxxx>:

On Fri, 29 Jul 2022 12:41:06 -0700 you wrote:
> Then multiple threads are attaching/detaching fentry/fexit programs to
> the same trampoline, we may call register_fentry on the same trampoline
> twice: register_fentry(), unregister_fentry(), then register_fentry again.
> This causes ftrace_set_filter_ip() for the same ip on tr->fops twice,
> which leaves duplicated ip in tr->fops. The extra ip is not cleaned up
> properly on unregister and thus causes failures with further register in
> register_ftrace_direct_multi():
>
> [...]

Here is the summary with links:
- [bpf-next] bpf: fix test_progs -j error with fentry/fexit tests
https://git.kernel.org/bpf/bpf-next/c/dc81f8d1e8ea

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html