Thread (3 messages) flat view 3 messages, 3 authors, 19d ago

Re: [PATCH net] net: dsa: b53: fix error propagation from b53_fdb_dump()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-08-17 21:00:53
Also in: lkml

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Wed, 12 Aug 2026 23:11:21 +0300 you wrote:
The blamed commit replaced "return ret" statements in b53_fdb_dump()
with "break;" which jumps to the mutex_unlock() -> return 0 section.

This is notably problematic because it swallows errors from the
b53_fdb_copy() -> cb() path, and this will result in FDB dump truncation
when the netlink skb overflows - see commit 21b52fed928e ("net: dsa:
sja1105: fix broken backpressure in .port_fdb_dump").

[...]
Here is the summary with links:
  - [net] net: dsa: b53: fix error propagation from b53_fdb_dump()
    https://git.kernel.org/netdev/net/c/4f1d06cf8aaa

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help