From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Yunjian Wang <wangyunjian@huawei.com>, <dev@dpdk.org>
Cc: <thomas@monjalon.net>, <gmuthukrishn@marvell.com>,
<dingxiaoxiong@huawei.com>, <xudingke@huawei.com>,
<stable@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH] ethdev: fix rxq_state leak in error path
Date: Tue, 25 Jan 2022 09:59:43 +0000 [thread overview]
Message-ID: <e3973366-3e3b-a2ac-17aa-268da80a2041@intel.com> (raw)
In-Reply-To: <b5b5d4a5eb98e92a9a06d51a88814ed9f2976e57.1641627917.git.wangyunjian@huawei.com>
On 1/8/2022 7:51 AM, Yunjian Wang wrote:
> In eth_dev_handle_port_info() allocated memory for rxq_state,
> we should free it when error happens, otherwise it will lead
> to memory leak.
>
> Fixes: 58b43c1ddfd1 ("ethdev: add telemetry endpoint for device info")
> Cc: stable@dpdk.org
>
> Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Applied to dpdk-next-net/main, thanks.
prev parent reply other threads:[~2022-01-25 9:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-08 7:51 Yunjian Wang
2022-01-25 9:59 ` 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=e3973366-3e3b-a2ac-17aa-268da80a2041@intel.com \
--to=ferruh.yigit@intel.com \
--cc=dev@dpdk.org \
--cc=dingxiaoxiong@huawei.com \
--cc=gmuthukrishn@marvell.com \
--cc=stable@dpdk.org \
--cc=thomas@monjalon.net \
--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).