[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164562001060.25344.12731632032260958454.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: davem@...emloft.net, kuba@...nel.org, yoshfuji@...ux-ipv6.org,
dsahern@...nel.org, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net] udp_tunnel: Fix end of loop test in
udp_tunnel_nic_unregister()
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Tue, 22 Feb 2022 16:42:51 +0300 you wrote:
> This test is checking if we exited the list via break or not. However
> if it did not exit via a break then "node" does not point to a valid
> udp_tunnel_nic_shared_node struct. It will work because of the way
> the structs are laid out it's the equivalent of
> "if (info->shared->udp_tunnel_nic_info != dev)" which will always be
> true, but it's not the right way to test.
>
> [...]
Here is the summary with links:
- [net] udp_tunnel: Fix end of loop test in udp_tunnel_nic_unregister()
https://git.kernel.org/netdev/net/c/de7b2efacf4e
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