DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: Radu Nicolau <radu.nicolau@intel.com>
Cc: Anatoly Burakov <anatoly.burakov@intel.com>, <dev@dpdk.org>,
	"Vladimir Medvedkin" <vladimir.medvedkin@intel.com>,
	Qiming Chen <chenqiming_huawei@163.com>,
	Qi Zhang <qi.z.zhang@intel.com>
Subject: Re: [PATCH v1 1/1] net/iavf: fix resource leak on IPsec init fail
Date: Fri, 18 Sep 2026 15:03:51 +0100	[thread overview]
Message-ID: <aq1ExyJM8X8qKwxN@bricha3-mobl1.ger.corp.intel.com> (raw)
In-Reply-To: <c0085431-fed9-400d-844f-02fb0d8bc363@intel.com>

On Fri, Sep 18, 2026 at 02:59:33PM +0100, Radu Nicolau wrote:
> 
> On 15-Sep-26 9:37 AM, Anatoly Burakov wrote:
> > Currently, during `dev_init`, we try to create a security context. At that
> > point we have already initialized the rte_flow engines, so any subsequent
> > failures must trigger flow engines uninit. However, if we fail to create a
> > security context (or if its initialization fails), we do not uninit the
> > rte_flow engines. Fix the code to do so on failure.
> > 
> > Fixes: 45570d7e4439 ("net/iavf: fix resource leak on probing failure")
> > Cc: chenqiming_huawei@163.com
> > Cc: stable@dpdk.org
> > 
> > Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
> > ---
> > 
> Acked-by: Radu Nicolau <radu.nicolau@intel.com>

Applied to dpdk-next-net-intel.
Thanks,
/Bruce

      reply	other threads:[~2026-09-18 14:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-15  8:37 [PATCH v1 1/1] net/iavf: fix resource leak on IPsec init fail Anatoly Burakov
2026-09-18 13:59 ` Radu Nicolau
2026-09-18 14:03   ` Bruce Richardson [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=aq1ExyJM8X8qKwxN@bricha3-mobl1.ger.corp.intel.com \
    --to=bruce.richardson@intel.com \
    --cc=anatoly.burakov@intel.com \
    --cc=chenqiming_huawei@163.com \
    --cc=dev@dpdk.org \
    --cc=qi.z.zhang@intel.com \
    --cc=radu.nicolau@intel.com \
    --cc=vladimir.medvedkin@intel.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