[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<171862683037.300.18122366052098634825.git-patchwork-notify@kernel.org>
Date: Mon, 17 Jun 2024 12:20:30 +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
Subject: Re: [PATCH net-next] net: make for_each_netdev_dump() a little more
bug-proof
Hello:
This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem@...emloft.net>:
On Thu, 13 Jun 2024 14:33:16 -0700 you wrote:
> I find the behavior of xa_for_each_start() slightly counter-intuitive.
> It doesn't end the iteration by making the index point after the last
> element. IOW calling xa_for_each_start() again after it "finished"
> will run the body of the loop for the last valid element, instead
> of doing nothing.
>
> This works fine for netlink dumps if they terminate correctly
> (i.e. coalesce or carefully handle NLM_DONE), but as we keep getting
> reminded legacy dumps are unlikely to go away.
>
> [...]
Here is the summary with links:
- [net-next] net: make for_each_netdev_dump() a little more bug-proof
https://git.kernel.org/netdev/net-next/c/f22b4b55edb5
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