patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Maxime Coquelin <maxime.coquelin@redhat.com>
To: Hideyuki Yamashita <yamashita.hideyuki@po.ntt-tx.co.jp>,
	zhihong.wang@intel.com, tiwei.bie@intel.com, dev@dpdk.org
Cc: stable@dpdk.org, ogawa.yasufumi@lab.ntt.co.jp
Subject: Re: [dpdk-stable] [PATCH] net/vhost: fix double free of MAC addrs
Date: Thu, 20 Dec 2018 19:20:37 +0100	[thread overview]
Message-ID: <711710d0-c31e-23c2-affa-21db73a7f275@redhat.com> (raw)
In-Reply-To: <201812190440.wBJ4cabt027283@ccmail04.silk.ntt-tx.co.jp>



On 12/19/18 5:37 AM, Hideyuki Yamashita wrote:
> The common data freeing has been moved to rte_eth_dev_release_port(),
> so freeing mac_addrs like this in eth_dev_close() is unnecessary and
> will cause double free.
> 
> Fixes: e16adf08e54d ("ethdev: free all common data when releasing port")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Hideyuki Yamashita <yamashita.hideyuki@po.ntt-tx.co.jp>
> Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
> ---
>   drivers/net/vhost/rte_eth_vhost.c | 1 -
>   1 file changed, 1 deletion(-)
> 

Applied to dpdk-next-virtio.

Maxime

      parent reply	other threads:[~2018-12-20 18:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-19  4:37 Hideyuki Yamashita
2018-12-19  9:15 ` Tiwei Bie
2018-12-20 18:20 ` Maxime Coquelin [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=711710d0-c31e-23c2-affa-21db73a7f275@redhat.com \
    --to=maxime.coquelin@redhat.com \
    --cc=dev@dpdk.org \
    --cc=ogawa.yasufumi@lab.ntt.co.jp \
    --cc=stable@dpdk.org \
    --cc=tiwei.bie@intel.com \
    --cc=yamashita.hideyuki@po.ntt-tx.co.jp \
    --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).