DPDK patches and discussions
 help / color / mirror / Atom feed
From: Maxime Coquelin <maxime.coquelin@redhat.com>
To: Tiwei Bie <tiwei.bie@intel.com>, zhihong.wang@intel.com, dev@dpdk.org
Cc: stable@dpdk.org
Subject: Re: [dpdk-dev] [PATCH 1/2] vhost: fix memory leak on realloc failure
Date: Mon, 14 Jan 2019 11:20:00 +0100	[thread overview]
Message-ID: <39033fe1-4412-73fc-69c2-d41e29af0b04@redhat.com> (raw)
In-Reply-To: <20190114033444.13026-2-tiwei.bie@intel.com>



On 1/14/19 4:34 AM, Tiwei Bie wrote:
> When realloc() fails, the original block isn't freed.
> 
> Fixes: e246896178e6 ("vhost: get guest/host physical address mappings")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
> ---
>   lib/librte_vhost/vhost_user.c | 3 +++
>   1 file changed, 3 insertions(+)
> 


Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>

Thanks,
Maxime

  reply	other threads:[~2019-01-14 10:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-14  3:34 [dpdk-dev] [PATCH 0/2] Fixes for realloc() in vhost Tiwei Bie
2019-01-14  3:34 ` [dpdk-dev] [PATCH 1/2] vhost: fix memory leak on realloc failure Tiwei Bie
2019-01-14 10:20   ` Maxime Coquelin [this message]
2019-01-14  3:34 ` [dpdk-dev] [PATCH 2/2] examples/vhost: fix " Tiwei Bie
2019-01-14 10:20   ` Maxime Coquelin
2019-01-15  1:56   ` [dpdk-dev] [dpdk-stable] " Thomas Monjalon
2019-01-15  6:53     ` Tiwei Bie

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=39033fe1-4412-73fc-69c2-d41e29af0b04@redhat.com \
    --to=maxime.coquelin@redhat.com \
    --cc=dev@dpdk.org \
    --cc=stable@dpdk.org \
    --cc=tiwei.bie@intel.com \
    --cc=zhihong.wang@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).