DPDK patches and discussions
 help / color / mirror / Atom feed
From: Dariusz Sosnowski <dsosnowski@nvidia.com>
To: Bing Zhao <bingz@nvidia.com>
Cc: <viacheslavo@nvidia.com>, <dev@dpdk.org>, <rasland@nvidia.com>,
	<orika@nvidia.com>, <suanmingm@nvidia.com>, <matan@nvidia.com>,
	<thomas@monjalon.net>, Nupur Uttarwar <nuttarwar@nvidia.com>
Subject: Re: [PATCH 3/4] net/mlx5: fix incorrect buddy mempool init
Date: Wed, 12 Nov 2025 10:48:08 +0100	[thread overview]
Message-ID: <20251112094808.v3f5iwzldsmnmvlu@ds-vm-debian.local> (raw)
In-Reply-To: <20251112074739.8996-1-bingz@nvidia.com>

On Wed, Nov 12, 2025 at 09:47:39AM +0200, Bing Zhao wrote:
> From: Nupur Uttarwar <nuttarwar@nvidia.com>
> 
> `buddy` was erroroneously declared as static. When multiple
> threads call this routine, they set the same static variable
> corrupting pool data and can cause potential double free when
> releasing resources.
> 
> Fixes: b4dd7bcb0dcb ("net/mlx5/hws: add pool and buddy")
> 
> Signed-off-by: Nupur Uttarwar <nuttarwar@nvidia.com>

Acked-by: Dariusz Sosnowski <dsosnowski@nvidia.com>

      reply	other threads:[~2025-11-12  9:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-12  7:47 Bing Zhao
2025-11-12  9:48 ` Dariusz Sosnowski [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=20251112094808.v3f5iwzldsmnmvlu@ds-vm-debian.local \
    --to=dsosnowski@nvidia.com \
    --cc=bingz@nvidia.com \
    --cc=dev@dpdk.org \
    --cc=matan@nvidia.com \
    --cc=nuttarwar@nvidia.com \
    --cc=orika@nvidia.com \
    --cc=rasland@nvidia.com \
    --cc=suanmingm@nvidia.com \
    --cc=thomas@monjalon.net \
    --cc=viacheslavo@nvidia.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).