All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Dimon Zhao <dimon.zhao@nebula-matrix.com>
Cc: dev@dpdk.org, stable@dpdk.org,
	Leon Yu <leon.yu@nebula-matrix.com>,
	Sam Chen <sam.chen@nebula-matrix.com>
Subject: Re: [PATCH v1 1/1] net/nbl: fix Leonis resource ops cleanup
Date: Thu, 3 Dec 2026 12:25:48 -0800	[thread overview]
Message-ID: <20261203122548.196a22f3@phoenix.local> (raw)
In-Reply-To: <20261202030850.3752252-2-dimon.zhao@nebula-matrix.com>

On Wed,  2 Dec 2026 11:08:50 +0800
Dimon Zhao <dimon.zhao@nebula-matrix.com> wrote:

> The Leonis resource ops table is allocated with calloc(). If Tx/Rx ops
> setup fails, the error path releases the table with rte_free().
> 
> Free the table with free() and clear the pointer on setup failure.
> 
> Fixes: c2d6a1b7a491 ("net/nbl: add resource layer")
> Cc: stable@dpdk.org
> Signed-off-by: Dimon Zhao <dimon.zhao@nebula-matrix.com>
> ---
 

Applied to next-net

      reply	other threads:[~2026-12-03 20:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02  3:08 [PATCH v1 0/1] net/nbl: fix Leonis resource ops cleanup Dimon Zhao
2026-12-02  3:08 ` [PATCH v1 1/1] " Dimon Zhao
2026-12-03 20:25   ` Stephen Hemminger [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=20261203122548.196a22f3@phoenix.local \
    --to=stephen@networkplumber.org \
    --cc=dev@dpdk.org \
    --cc=dimon.zhao@nebula-matrix.com \
    --cc=leon.yu@nebula-matrix.com \
    --cc=sam.chen@nebula-matrix.com \
    --cc=stable@dpdk.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.