Re: [dpdk-dev] [PATCH] net/vhost: fix double free of MAC addrs

2018-12-20 Thread Maxime Coquelin
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: sta...

Re: [dpdk-dev] [PATCH] net/vhost: fix double free of MAC addrs

2018-12-19 Thread Tiwei Bie
On Wed, Dec 19, 2018 at 01:37:18PM +0900, 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 r

[dpdk-dev] [PATCH] net/vhost: fix double free of MAC addrs

2018-12-18 Thread Hideyuki Yamashita
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: sta...@dpdk.org Signed-off-by: Hideyuki Yamashita Signed