[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <160588440537.22328.3077027679091299701.git-patchwork-notify@kernel.org>
Date: Fri, 20 Nov 2020 15:00:05 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Magnus Karlsson <magnus.karlsson@...il.com>
Cc: magnus.karlsson@...el.com, bjorn.topel@...el.com, ast@...nel.org,
daniel@...earbox.net, netdev@...r.kernel.org,
jonathan.lemon@...il.com, alardam@...il.com, bpf@...r.kernel.org
Subject: Re: [PATCH bpf] xsk: fix umem cleanup bug at socket destruct
Hello:
This patch was applied to bpf/bpf.git (refs/heads/master):
On Fri, 20 Nov 2020 12:53:39 +0100 you wrote:
> From: Magnus Karlsson <magnus.karlsson@...el.com>
>
> Fix a bug that is triggered when a partially setup socket is
> destroyed. For a fully setup socket, a socket that has been bound to a
> device, the cleanup of the umem is performed at the end of the buffer
> pool's cleanup work queue item. This has to be performed in a work
> queue, and not in RCU cleanup, as it is doing a vunmap that cannot
> execute in interrupt context. However, when a socket has only been
> partially set up so that a umem has been created but the buffer pool
> has not, the code erroneously directly calls the umem cleanup function
> instead of using a work queue, and this leads to a BUG_ON() in
> vunmap().
>
> [...]
Here is the summary with links:
- [bpf] xsk: fix umem cleanup bug at socket destruct
https://git.kernel.org/bpf/bpf/c/537cf4e3cc2f
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