patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Luca Boccassi <bluca@debian.org>
To: wangyunjian <wangyunjian@huawei.com>, stable@dpdk.org
Cc: ajit.khaparde@broadcom.com, somnath.kotur@broadcom.com,
	 jerry.lilijun@huawei.com, xudingke@huawei.com
Subject: Re: [dpdk-stable] [PATCH 19.11] net/bnxt: fix memory leak when freeing VF info
Date: Thu, 05 Nov 2020 09:42:08 +0000	[thread overview]
Message-ID: <41c696482b8e77e0421f7b20283ad19813799c3d.camel@debian.org> (raw)
In-Reply-To: <1604463270-18936-1-git-send-email-wangyunjian@huawei.com>

On Wed, 2020-11-04 at 12:14 +0800, wangyunjian wrote:
> From: Yunjian Wang <wangyunjian@huawei.com>
> 
> [ upstream commit 9fb9a94caf48754e7643f32a5c419007c601d9f1 ]
> 
> When freeing a vf_info, we should free the 'vlan_as_table'
> and 'vlan_table' for the vf_info.
> 
> Fixes: b7778e8a1c00 ("net/bnxt: refactor to properly allocate resources for PF/VF")
> 
> Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
> ---
>  drivers/net/bnxt/bnxt_ethdev.c |  3 +--
>  drivers/net/bnxt/bnxt_hwrm.c   | 16 +++++++++++++++-
>  drivers/net/bnxt/bnxt_hwrm.h   |  1 +
>  3 files changed, 17 insertions(+), 3 deletions(-)

Acked-by: Luca Boccassi <luca.boccassi@microsoft.com>

Thanks, applied and pushed.

-- 
Kind regards,
Luca Boccassi

      reply	other threads:[~2020-11-05  9:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-04  4:14 wangyunjian
2020-11-05  9:42 ` Luca Boccassi [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=41c696482b8e77e0421f7b20283ad19813799c3d.camel@debian.org \
    --to=bluca@debian.org \
    --cc=ajit.khaparde@broadcom.com \
    --cc=jerry.lilijun@huawei.com \
    --cc=somnath.kotur@broadcom.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).