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

2023-06-01 Thread Maxime Coquelin
On 4/13/23 12:10, 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: sta...@dpdk.org Signed-off-by: David Marchand --- drivers/net/v

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

2023-04-18 Thread Tyler Retzlaff
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: sta...@dpdk.org > > Signed-off-by:

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

2023-04-16 Thread Maxime Coquelin
On 4/13/23 12:10, 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: sta...@dpdk.org Signed-off-by: David Marchand --- drivers/net/v

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

2023-04-13 Thread David Marchand
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: sta...@dpdk.org Signed-off-by: David Marchand --- drivers/net/virtio/virtio_user/virtio_user_dev.c | 7 ++