DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Radu Nicolau <radu.nicolau@intel.com>
To: 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 14:59:33 +0100	[thread overview]
Message-ID: <c0085431-fed9-400d-844f-02fb0d8bc363@intel.com> (raw)
In-Reply-To: <049b6e36e7303a5f5c9ce96a3bcb116fc8c25af6.1789461413.git.anatoly.burakov@intel.com>


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>

  reply	other threads:[~2026-09-18 14:00 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 [this message]
2026-09-18 14:03   ` Bruce Richardson

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=c0085431-fed9-400d-844f-02fb0d8bc363@intel.com \
    --to=radu.nicolau@intel.com \
    --cc=anatoly.burakov@intel.com \
    --cc=chenqiming_huawei@163.com \
    --cc=dev@dpdk.org \
    --cc=qi.z.zhang@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