[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164605981010.28346.16023482692929405783.git-patchwork-notify@kernel.org>
Date: Mon, 28 Feb 2022 14:50:10 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Magnus Karlsson <magnus.karlsson@...il.com>
Cc: magnus.karlsson@...el.com, bjorn@...nel.org, ast@...nel.org,
daniel@...earbox.net, netdev@...r.kernel.org,
maciej.fijalkowski@...el.com, jonathan.lemon@...il.com,
bpf@...r.kernel.org, elza.mathew@...el.com
Subject: Re: [PATCH bpf v2] xsk: fix race at socket teardown
Hello:
This patch was applied to bpf/bpf.git (master)
by Daniel Borkmann <daniel@...earbox.net>:
On Mon, 28 Feb 2022 10:45:52 +0100 you wrote:
> From: Magnus Karlsson <magnus.karlsson@...el.com>
>
> Fix a race in the xsk socket teardown code that can lead to a null
> pointer dereference splat. The current xsk unbind code in
> xsk_unbind_dev() starts by setting xs->state to XSK_UNBOUND, sets
> xs->dev to NULL and then waits for any NAPI processing to terminate
> using synchronize_net(). After that, the release code starts to tear
> down the socket state and free allocated memory.
>
> [...]
Here is the summary with links:
- [bpf,v2] xsk: fix race at socket teardown
https://git.kernel.org/bpf/bpf/c/18b1ab7aa76b
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