[PATCH] net/virtio-user: fix leak when initialisation fails

Tyler Retzlaff roretzla at linux.microsoft.com
Tue Apr 18 20:15:27 CEST 2023


On Thu, Apr 13, 2023 at 12:10:41PM +0200, David Marchand wrote:
> Caught with ASan.
> If initialising a virtio_user port fails, we may leak the ifname passed
> via a devargs.
> 
> Fixes: 4214a1b493f2 ("net/virtio-user: support changing tap interface name")
> Cc: stable at dpdk.org
> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> ---
Acked-by: Tyler Retzlaff <roretzla at linux.microsoft.com>



More information about the stable mailing list