DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas@monjalon.net>
To: Ferruh Yigit <ferruh.yigit@intel.com>, Andy Pei <andy.pei@intel.com>
Cc: dev@dpdk.org, Rosen Xu <rosen.xu@intel.com>,
	Tianfei zhang <tianfei.zhang@intel.com>,
	stable@dpdk.org
Subject: Re: [dpdk-dev] [PATCH v3] raw/ifpga: fix memory leak
Date: Fri, 18 Jan 2019 20:00:18 +0100	[thread overview]
Message-ID: <5819993.G6s9tUsmBj@xps> (raw)
In-Reply-To: <20190118111434.45392-1-ferruh.yigit@intel.com>

18/01/2019 12:14, Ferruh Yigit:
> From: Andy Pei <andy.pei@intel.com>
> 
> When ifpga_rawdev_create() allocate memory for a new rawdev,
> the original code allocate redundant memory for adapter,
> which is a member of the rawdev. What is actually necessary is
> the adapter to be initialized, not memory allocated.
> 
> Fixes: ef1e8ede3da5 ("raw/ifpga: add Intel FPGA bus rawdev driver")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Andy Pei <andy.pei@intel.com>
> Acked-by: Tianfei zhang <tianfei.zhang@intel.com>
> Acked-by: Rosen Xu <rosen.xu@intel.com>

Applied, thanks

      reply	other threads:[~2019-01-18 19:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-17 12:47 [dpdk-dev] [DPDK] raw/ifpga: fix a memory leak bug in /driver/raw/ifpga_rawdev Andy Pei
2019-01-18  7:16 ` [dpdk-dev] [PATCH v2] " Andy Pei
2019-01-18 11:14   ` [dpdk-dev] [PATCH v3] raw/ifpga: fix memory leak Ferruh Yigit
2019-01-18 19:00     ` Thomas Monjalon [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=5819993.G6s9tUsmBj@xps \
    --to=thomas@monjalon.net \
    --cc=andy.pei@intel.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=rosen.xu@intel.com \
    --cc=stable@dpdk.org \
    --cc=tianfei.zhang@intel.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).