[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<173801763699.3245248.7069448205474093297.git-patchwork-notify@kernel.org>
Date: Mon, 27 Jan 2025 22:40:36 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
pabeni@...hat.com, andrew+netdev@...n.ch, horms@...nel.org,
donald.hunter@...il.com, nicolas.dichtel@...nd.com, willemb@...gle.com
Subject: Re: [PATCH net] tools: ynl: c: correct reverse decode of empty attrs
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Thu, 23 Jan 2025 17:21:30 -0800 you wrote:
> netlink reports which attribute was incorrect by sending back
> an attribute offset. Offset points to the address of struct nlattr,
> but to interpret the type we also need the nesting path.
> Attribute IDs have different meaning in different nests
> of the same message.
>
> Correct the condition for "is the offset within current attribute".
> ynl_attr_data_len() does not include the attribute header,
> so the end offset was off by 4 bytes.
>
> [...]
Here is the summary with links:
- [net] tools: ynl: c: correct reverse decode of empty attrs
https://git.kernel.org/netdev/net/c/964417a5d4a0
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