[dpdk-dev] [PATCH v3] net/vhost: fix potential memory leak

Maxime Coquelin maxime.coquelin at redhat.com
Fri Apr 10 16:44:22 CEST 2020



On 3/5/20 3:54 AM, Itsuro Oda wrote:
> If a vhost device is closed before eth_dev_configure is done
> to the device, internal resources allocated to the device
> would not be freed. This patch fixes it.
> 
> Fixes: 3d01b759d267 ("net/vhost: delay driver setup")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Itsuro Oda <oda at valinux.co.jp>
> Reviewed-by: Xiaolong Ye <xiaolong.ye at intel.com>
> ---
> v2:
> - fix commit message
> 
> v3:
> - fix spell error of Reviewed-by
> 
>  drivers/net/vhost/rte_eth_vhost.c | 16 +++++++---------
>  1 file changed, 7 insertions(+), 9 deletions(-)

Applied to dpdk-next-virtio/master.

Thanks,
Maxime



More information about the dev mailing list