[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <164562001064.25344.14216155455524345283.git-patchwork-notify@kernel.org>
Date: Wed, 23 Feb 2022 12:40:10 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: jmaloy@...hat.com, richard.alpe@...csson.com,
ying.xue@...driver.com, davem@...emloft.net, kuba@...nel.org,
erik.hugne@...csson.com, netdev@...r.kernel.org,
tipc-discussion@...ts.sourceforge.net,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net] tipc: Fix end of loop tests for list_for_each_entry()
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Tue, 22 Feb 2022 16:43:12 +0300 you wrote:
> These tests are supposed to check if the loop exited via a break or not.
> However the tests are wrong because if we did not exit via a break then
> "p" is not a valid pointer. In that case, it's the equivalent of
> "if (*(u32 *)sr == *last_key) {". That's going to work most of the time,
> but there is a potential for those to be equal.
>
> Fixes: 1593123a6a49 ("tipc: add name table dump to new netlink api")
> Fixes: 1a1a143daf84 ("tipc: add publication dump to new netlink api")
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
>
> [...]
Here is the summary with links:
- [net] tipc: Fix end of loop tests for list_for_each_entry()
https://git.kernel.org/netdev/net/c/a1f8fec4dac8
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