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: sta...@dpdk.org

Signed-off-by: Tiwei Bie <tiwei....@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.coque...@redhat.com>

Thanks,
Maxime

Reply via email to