[dpdk-dev] [PATCH] net/virtio: fix memory leak

2017-10-25 Thread Pengzhen Liu
In function eth_virtio_dev_init(), dynamic memory stored in "eth_dev->data->mac_addrs" variable and it is not freed whe function return, this is a possible memory leak. Fixes: 6b9ed026a870 ("net/virtio: eth_dev->data->mac_addrs is not freed") Cc: sta...@dpdk

[dpdk-dev] [PATCH] net/virtio: fix memory leak

2017-10-26 Thread Pengzhen Liu
In function eth_virtio_dev_init(), dynamic memory stored in "eth_dev->data->mac_addrs" variable and it is not freed when function return, this is a possible memory leak. Fixes: 6b9ed026a870 ("net/virtio: eth_dev->data->mac_addrs is not freed") Cc: sta...@dpdk

[dpdk-dev] [PATCH] net/virtio: fix memory leak

2017-10-26 Thread Pengzhen Liu
In function eth_virtio_dev_init(), dynamic memory stored in "eth_dev->data->mac_addrs" variable and it is not freed when function return, this is a possible memory leak. Fixes: 6b9ed026a870 ("net/virtio: eth_dev->data->mac_addrs is not freed") Cc: sta...@dpdk

[dpdk-dev] [PATCH] net/tap: fix invalid queue file descriptor

2017-10-26 Thread Pengzhen Liu
From: Keith Wiles Rx and Tx queues share the common tap file descriptor, but save this value separately. Setting up Rx/Tx queue sets up both queues, release_queue close the tap file but update file descriptor only for that queue. This makes other queue's file descriptor invalid. As a workaroun

[dpdk-dev] [PATCH] net/virtio: fix memory leak

2017-10-26 Thread Pengzhen Liu
In function eth_virtio_dev_init(), dynamic memory stored in "eth_dev->data->mac_addrs" variable and it is not freed when function return, this is a possible memory leak. Fixes: 289ba0c0f52a ("net/virtio: eth_dev->data->mac_addrs is not freed") Cc: sta...@dpdk

[dpdk-dev] [PATCH] net/virtio: fix memory leak

2017-10-26 Thread Pengzhen Liu
In function eth_virtio_dev_init(), dynamic memory stored in "eth_dev->data->mac_addrs" variable and it is not freed when function return, this is a possible memory leak. Fixes: 8ced1542f7a3 ("net/virtio: eth_dev->data->mac_addrs is not freed") Cc: sta...@dpdk