From: Wentao Liang <vulab@iscas.ac.cn>
To: Alex Elder <elder@ieee.org>
Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com,
elder@kernel.org, kuba@kernel.org, linux-kernel@vger.kernel.org,
netdev@vger.kernel.org, pabeni@redhat.com, vulab@iscas.ac.cn
Subject: Re: [PATCH] net: ipa: Fix enabled_state leak in ipa_smp2p_init()
Date: Sun, 08 Nov 2026 10:27:00 +0000 [thread overview]
Message-ID: <20261108102700.3182122-1-vulab@iscas.ac.cn> (raw)
In-Reply-To: <692ed9ca-fac1-42cd-a514-517f6903f8d8@ieee.org>
Hi Alex,
Sorry for the very late reply, and for the noise.
You are right on both points. This is already fixed by 96ca1e658ae45
("net: ipa: fix SMEM state handle leaks in SMP2P init"), which has been
in mainline since v7.2-rc2 and releases both SMEM state handles on the
init error paths and in ipa_smp2p_exit(). My patch is a duplicate, and
on its own it would also have been incomplete: it only handles
enabled_state and leaves ipa_smp2p_exit() untouched. No v2 is needed;
please disregard it.
On where the code came from: the diff was generated from an old snapshot
of the tree (v7.1-rc4 based), not from v7.2, and I did not rebase or
recheck it against the current tree before sending. That is why the
context does not match what v7.2 has now. The candidate itself came from
our static analysis tooling; DeepSeek and GPT-6.1 Sol were used to audit
the finding and to help write the change, and I reviewed the result
myself before sending it. Checking it against the tree of the day was my
job and I skipped it, so I am sorry you spent review time on this.
I am working through the rest of the feedback by hand now.
Thanks,
Wentao
prev parent reply other threads:[~2026-11-08 10:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-17 11:52 Wentao Liang
2026-09-17 12:17 ` Alex Elder
2026-11-08 10:27 ` Wentao Liang [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=20261108102700.3182122-1-vulab@iscas.ac.cn \
--to=vulab@iscas.ac.cn \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=elder@ieee.org \
--cc=elder@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--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
all inboxes | Powered by JetHome®