[dpdk-dev] [PATCH 3/5] net/virtio: unmap device on initialization error

Maxime Coquelin maxime.coquelin at redhat.com
Wed Jun 5 16:33:52 CEST 2019



On 6/5/19 11:43 AM, Tiwei Bie wrote:
> We should unmap the device when we failed to initialize the device.
> 
> Fixes: 6ba1f63b5ab0 ("virtio: support specification 1.0")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Tiwei Bie <tiwei.bie at intel.com>
> ---
>   drivers/net/virtio/virtio_ethdev.c | 12 +++++++++---
>   drivers/net/virtio/virtio_pci.c    |  1 +
>   2 files changed, 10 insertions(+), 3 deletions(-)
> 

Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks,
Maxime



More information about the dev mailing list