Re: [dpdk-dev] [PATCH] net/virtio-user: fix crash when detaching device

2017-07-04 Thread Yuanhan Liu
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,

[dpdk-dev] [PATCH] net/virtio-user: fix crash when detaching device

2017-06-23 Thread Allain Legacy
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 cl