[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<174229983474.286709.15812774478421240563.git-patchwork-notify@kernel.org>
Date: Tue, 18 Mar 2025 12:10:34 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Kuniyuki Iwashima <kuniyu@...zon.com>
Cc: davem@...emloft.net, dsahern@...nel.org, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, horms@...nel.org, kuni1840@...il.com,
netdev@...r.kernel.org
Subject: Re: [PATCH v1 net] ipv6: Fix memleak of nhc_pcpu_rth_output in
fib_check_nh_v6_gw().
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@...hat.com>:
On Tue, 11 Mar 2025 18:03:25 -0700 you wrote:
> fib_check_nh_v6_gw() expects that fib6_nh_init() cleans up everything
> when it fails.
>
> Commit 7dd73168e273 ("ipv6: Always allocate pcpu memory in a fib6_nh")
> moved fib_nh_common_init() before alloc_percpu_gfp() within fib6_nh_init()
> but forgot to add cleanup for fib6_nh->nh_common.nhc_pcpu_rth_output in
> case it fails to allocate fib6_nh->rt6i_pcpu, resulting in memleak.
>
> [...]
Here is the summary with links:
- [v1,net] ipv6: Fix memleak of nhc_pcpu_rth_output in fib_check_nh_v6_gw().
https://git.kernel.org/netdev/net/c/9740890ee20e
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