[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<174363724001.1716091.16388905575771046869.git-patchwork-notify@kernel.org>
Date: Wed, 02 Apr 2025 23:40:40 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Tobias Waldekranz <tobias@...dekranz.com>
Cc: davem@...emloft.net, kuba@...nel.org, maxime.chevallier@...tlin.com,
marcin.s.wojtas@...il.com, linux@...linux.org.uk, andrew@...n.ch,
edumazet@...gle.com, pabeni@...hat.com, netdev@...r.kernel.org
Subject: Re: [PATCH v5] net: mvpp2: Prevent parser TCAM memory corruption
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Tue, 1 Apr 2025 08:58:04 +0200 you wrote:
> Protect the parser TCAM/SRAM memory, and the cached (shadow) SRAM
> information, from concurrent modifications.
>
> Both the TCAM and SRAM tables are indirectly accessed by configuring
> an index register that selects the row to read or write to. This means
> that operations must be atomic in order to, e.g., avoid spreading
> writes across multiple rows. Since the shadow SRAM array is used to
> find free rows in the hardware table, it must also be protected in
> order to avoid TOCTOU errors where multiple cores allocate the same
> row.
>
> [...]
Here is the summary with links:
- [v5] net: mvpp2: Prevent parser TCAM memory corruption
https://git.kernel.org/netdev/net/c/96844075226b
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