patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Kevin Traynor <ktraynor@redhat.com>
To: Yunjian Wang <wangyunjian@huawei.com>, stable@dpdk.org
Cc: ciara.loftus@intel.com, qi.z.zhang@intel.com, xudingke@huawei.com
Subject: Re: [PATCH 21.11] net/af_xdp: fix leak on XSK configuration failure
Date: Thu, 18 Apr 2024 13:30:53 +0100	[thread overview]
Message-ID: <70c587b1-0141-40f2-9a30-f65ee346b97d@redhat.com> (raw)
In-Reply-To: <1712577789-21352-1-git-send-email-wangyunjian@huawei.com>

On 08/04/2024 13:03, Yunjian Wang wrote:
> [ upstream commit 955acb9594cec548ae57319bfc99d4297d773675 ]
> 
> In xdp_umem_configure() allocated some resources for the
> xsk umem, we should delete them when xsk configure fails,
> otherwise it will lead to resources leak.
> 
> Fixes: f1debd77efaf ("net/af_xdp: introduce AF_XDP PMD")
> 
> Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
> Reviewed-by: Ciara Loftus <ciara.loftus@intel.com>
> Acked-by: Ferruh Yigit <ferruh.yigit@amd.com>
> ---
>  drivers/net/af_xdp/rte_eth_af_xdp.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Thanks Yunjian. I have pushed to 21.11 branch.

Kevin.


      reply	other threads:[~2024-04-18 12:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-08 12:03 Yunjian Wang
2024-04-18 12:30 ` Kevin Traynor [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=70c587b1-0141-40f2-9a30-f65ee346b97d@redhat.com \
    --to=ktraynor@redhat.com \
    --cc=ciara.loftus@intel.com \
    --cc=qi.z.zhang@intel.com \
    --cc=stable@dpdk.org \
    --cc=wangyunjian@huawei.com \
    --cc=xudingke@huawei.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).