From: Yuanhan Liu <yliu@fridaylinux.org>
To: Allain Legacy <allain.legacy@windriver.com>
Cc: maxime.coquelin@redhat.com, dev@dpdk.org, stable@dpdk.org
Subject: Re: [dpdk-stable] [PATCH] net/virtio-user: fix crash when detaching device
Date: Tue, 4 Jul 2017 17:25:17 +0800 [thread overview]
Message-ID: <20170704092517.GO11626@yliu-home> (raw)
In-Reply-To: <20170623124137.61091-1-allain.legacy@windriver.com>
On Fri, Jun 23, 2017 at 08:41:37AM -0400, Allain Legacy wrote:
> The rte_eth_dev.data pointer is set to a reference to a static table.
> Attempting to rte_free() it leads to a panic. For example, the
> following commands result in a panic if run in testpmd
>
> testpmd> port attach virtio_user0,path=/dev/vhost-net,iface=test0
> testpmd> port stop 2
> testpmd> port close 2
> testpmd> port detach 2
>
> Fixes: ce2eabdd43ec ("net/virtio-user: add virtual device")
Note that it's prefered (and asked) to add stable tag inside the commit log.
Cc: stable@dpdk.org
Applied to dpdk-next-virtio, with above tag added.
Thanks.
--yliu
prev parent reply other threads:[~2017-07-04 9:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-23 12:41 Allain Legacy
2017-07-04 9:25 ` Yuanhan Liu [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=20170704092517.GO11626@yliu-home \
--to=yliu@fridaylinux.org \
--cc=allain.legacy@windriver.com \
--cc=dev@dpdk.org \
--cc=maxime.coquelin@redhat.com \
--cc=stable@dpdk.org \
/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).