Re: [PATCH v2 net] net/802/mrp: fix vector attribute parsing in mrp_pdu_parse_vecattr
From: patchwork-bot+netdevbpf
Date: Thu Jun 04 2026 - 12:09:03 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Wed, 3 Jun 2026 14:00:13 +0800 you wrote:
> In mrp_pdu_parse_vecattr(), vector attribute events are encoded three
> per byte and valen tracks the number of events left to process.
>
> The parser decrements valen after processing the first and second events
> from each event byte, but not after processing the third one. When valen
> is exactly a multiple of three, the loop continues after the last valid
> event and consumes the next byte as a new event byte, applying a
> spurious event to the MRP applicant state.
>
> [...]
Here is the summary with links:
- [v2,net] net/802/mrp: fix vector attribute parsing in mrp_pdu_parse_vecattr
https://git.kernel.org/netdev/net/c/7561c7fbc694
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html