[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<168542401973.30709.17193286061562512197.git-patchwork-notify@kernel.org>
Date: Tue, 30 May 2023 05:20:19 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Eric Dumazet <edumazet@...gle.com>
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
netdev@...r.kernel.org, eric.dumazet@...il.com, kuniyu@...zon.com,
willemb@...gle.com
Subject: Re: [PATCH net] af_packet: do not use READ_ONCE() in packet_bind()
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Fri, 26 May 2023 15:43:42 +0000 you wrote:
> A recent patch added READ_ONCE() in packet_bind() and packet_bind_spkt()
>
> This is better handled by reading pkt_sk(sk)->num later
> in packet_do_bind() while appropriate lock is held.
>
> READ_ONCE() in writers are often an evidence of something being wrong.
>
> [...]
Here is the summary with links:
- [net] af_packet: do not use READ_ONCE() in packet_bind()
https://git.kernel.org/netdev/net/c/6ffc57ea0042
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