[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <161401440712.8774.15015105198478968097.git-patchwork-notify@kernel.org>
Date: Mon, 22 Feb 2021 17:20:07 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Cong Wang <xiyou.wangcong@...il.com>
Cc: netdev@...r.kernel.org, bpf@...r.kernel.org,
cong.wang@...edance.com, jiang.wang@...edance.com, ast@...nel.org,
daniel@...earbox.net
Subject: Re: [Patch bpf-next v2] bpf: clear percpu pointers in
bpf_prog_clone_free()
Hello:
This patch was applied to bpf/bpf.git (refs/heads/master):
On Wed, 17 Feb 2021 16:16:47 -0800 you wrote:
> From: Cong Wang <cong.wang@...edance.com>
>
> Similar to bpf_prog_realloc(), bpf_prog_clone_create() also copies
> the percpu pointers, but the clone still shares them with the original
> prog, so we have to clear these two percpu pointers in
> bpf_prog_clone_free(). Otherwise we would get a double free:
>
> [...]
Here is the summary with links:
- [bpf-next,v2] bpf: clear percpu pointers in bpf_prog_clone_free()
https://git.kernel.org/bpf/bpf/c/53f523f3052a
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists