[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<171728523251.22535.15178017480909563092.git-patchwork-notify@kernel.org>
Date: Sat, 01 Jun 2024 23:40:32 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Kuniyuki Iwashima <kuniyu@...zon.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, kuni1840@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH v1 net-next] af_unix: Remove dead code in
unix_stream_read_generic().
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 29 May 2024 07:46:48 -0700 you wrote:
> When splice() support was added in commit 2b514574f7e8 ("net:
> af_unix: implement splice for stream af_unix sockets"), we had
> to release unix_sk(sk)->readlock (current iolock) before calling
> splice_to_pipe().
>
> Due to the unlock, commit 73ed5d25dce0 ("af-unix: fix use-after-free
> with concurrent readers while splicing") added a safeguard in
> unix_stream_read_generic(); we had to bump the skb refcount before
> calling ->recv_actor() and then check if the skb was consumed by a
> concurrent reader.
>
> [...]
Here is the summary with links:
- [v1,net-next] af_unix: Remove dead code in unix_stream_read_generic().
https://git.kernel.org/netdev/net-next/c/b5c089880723
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