[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<176905440986.1550373.18140833827678654878.git-patchwork-notify@kernel.org>
Date: Thu, 22 Jan 2026 04:00:09 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Vladimir Oltean <vladimir.oltean@....com>
Cc: netdev@...r.kernel.org, andrew@...n.ch, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com, horms@...nel.org,
alsi@...g-olufsen.dk
Subject: Re: [PATCH net] net: dsa: fix off-by-one in maximum bridge ID
determination
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Tue, 20 Jan 2026 23:10:39 +0200 you wrote:
> Prior to the blamed commit, the bridge_num range was from
> 0 to ds->max_num_bridges - 1. After the commit, it is from
> 1 to ds->max_num_bridges.
>
> So this check:
> if (bridge_num >= max)
> return 0;
> must be updated to:
> if (bridge_num > max)
> return 0;
>
> [...]
Here is the summary with links:
- [net] net: dsa: fix off-by-one in maximum bridge ID determination
https://git.kernel.org/netdev/net/c/dfca045cd4d0
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