From: patchwork-bot+netdevbpf@kernel.org
To: Kuniyuki Iwashima <kuniyu@amazon.com>
Cc: davem@davemloft.net, dsahern@kernel.org, edumazet@google.com,
kuba@kernel.org, pabeni@redhat.com, horms@kernel.org,
kuni1840@gmail.com, netdev@vger.kernel.org
Subject: Re: [PATCH v1 net] ipv6: Fix memleak of nhc_pcpu_rth_output in fib_check_nh_v6_gw().
Date: Tue, 18 Mar 2025 12:10:34 +0000 [thread overview]
Message-ID: <174229983474.286709.15812774478421240563.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20250312010333.56001-1-kuniyu@amazon.com>
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.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
prev parent reply other threads:[~2025-03-18 12:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-12 1:03 [PATCH v1 net] ipv6: Fix memleak of nhc_pcpu_rth_output in fib_check_nh_v6_gw() Kuniyuki Iwashima
2025-03-18 12:10 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=174229983474.286709.15812774478421240563.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=kuni1840@gmail.com \
--cc=kuniyu@amazon.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).