[dpdk-dev] [PATCH 3/3] net/virtio_user: fix dev not freed after
> init error
>
> On Fri, 5 Aug 2016 11:36:43 +
> Jianfeng Tan wrote:
>
> > diff --git a/drivers/net/virtio/virtio_user_ethdev.c
> b/drivers/net/virtio/virtio_user_ethdev.c
> > index d
Currently, when virtio_user device fails to be started (e.g., vhost
unix socket does not exit), the init function does not return struct
rte_eth_dev (and some other structs) back to ether layer. And what's
more, it does not report the error to upper layer.
The fix is to free those structs and
On Fri, 5 Aug 2016 11:36:43 +
Jianfeng Tan wrote:
> diff --git a/drivers/net/virtio/virtio_user_ethdev.c
> b/drivers/net/virtio/virtio_user_ethdev.c
> index daef09b..62ccb0b 100644
> --- a/drivers/net/virtio/virtio_user_ethdev.c
> +++ b/drivers/net/virtio/virtio_user_ethdev.c
> @@ -313,6
3 matches
Mail list logo