patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Ferruh Yigit <ferruh.yigit@amd.com>
To: Andrew Boyer <andrew.boyer@amd.com>, dev@dpdk.org
Cc: stable@dpdk.org
Subject: Re: [PATCH] net/ionic: fix double-free of mbufs when emptying array
Date: Sun, 7 Jul 2024 19:55:37 +0100	[thread overview]
Message-ID: <e7c3a12b-be5a-48cc-a6f0-cf3ed1f660b3@amd.com> (raw)
In-Reply-To: <20240701151943.43121-1-andrew.boyer@amd.com>

On 7/1/2024 4:19 PM, Andrew Boyer wrote:
> The bulk-allocation array is used back to front, so we need to free
> everything before the marker, not after it. Flip ionic_empty_array()
> so that it frees from 0 to the provided index. Adjust the callers
> as needed.
> 
> Fixes: 218afd825bca ("net/ionic: do bulk allocations of Rx mbufs")
> CC: stable@dpdk.org
> 
> Signed-off-by: Andrew Boyer <andrew.boyer@amd.com>
>

Applied to dpdk-next-net/main, thanks.

      reply	other threads:[~2024-07-07 18:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-01 15:19 Andrew Boyer
2024-07-07 18:55 ` Ferruh Yigit [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=e7c3a12b-be5a-48cc-a6f0-cf3ed1f660b3@amd.com \
    --to=ferruh.yigit@amd.com \
    --cc=andrew.boyer@amd.com \
    --cc=dev@dpdk.org \
    --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 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).