[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<172549383107.1201174.15025057832527381536.git-patchwork-notify@kernel.org>
Date: Wed, 04 Sep 2024 23:50:31 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: James Chapman <jchapman@...alix.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, dsahern@...nel.org, lkp@...el.com,
dan.carpenter@...aro.org, tparkin@...alix.com
Subject: Re: [PATCH net-next v2] l2tp: remove unneeded null check in
l2tp_v2_session_get_next
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Tue, 3 Sep 2024 12:35:47 +0100 you wrote:
> Commit aa92c1cec92b ("l2tp: add tunnel/session get_next helpers") uses
> idr_get_next APIs to iterate over l2tp session IDR lists. Sessions in
> l2tp_v2_session_idr always have a non-null session->tunnel pointer
> since l2tp_session_register sets it before inserting the session into
> the IDR. Therefore the null check on session->tunnel in
> l2tp_v2_session_get_next is redundant and can be removed. Removing the
> check avoids a warning from lkp.
>
> [...]
Here is the summary with links:
- [net-next,v2] l2tp: remove unneeded null check in l2tp_v2_session_get_next
https://git.kernel.org/netdev/net-next/c/510c0732fc8c
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