[PATCH v2] net/virtio: fix crash when dev is configured twice

2022-09-26 Thread Alexander Chernavin
ed With this fix, reinit the device during configuration if virtio queues are not allocated. Cc: sta...@dpdk.org Signed-off-by: Alexander Chernavin --- v2: * Also CC to sta...@dpdk.org drivers/net/virtio/virtio_ethdev.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/v

[PATCH v2] net/virtio: fix crash when dev is configured twice

2022-09-26 Thread Alexander Chernavin
ed With this fix, reinit the device during configuration if virtio queues are not allocated. Cc: sta...@dpdk.org Signed-off-by: Alexander Chernavin --- v2: * Also CC to sta...@dpdk.org drivers/net/virtio/virtio_ethdev.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/v

[PATCH v3] net/virtio: fix crash when dev is configured twice

2022-09-27 Thread Alexander Chernavin
ed With this fix, reinit the device during configuration if virtio queues are not allocated. Fixes: 2b38151f745a ("net/virtio: fix queue memory leak on error") Cc: sta...@dpdk.org Signed-off-by: Alexander Chernavin --- v2: Add Cc: sta...@dpdk.org v3: Add Fixes: 2b38151f745a drivers/

[PATCH] net/virtio: fix crash when dev is configured twice

2022-08-31 Thread Alexander Chernavin
ed With this fix, reinit the device during configuration if virtio queues are not allocated. Signed-off-by: Alexander Chernavin --- drivers/net/virtio/virtio_ethdev.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_e

[PATCH] net/virtio: fix crash when dev is configured twice

2022-08-31 Thread Alexander Chernavin
ed With this fix, reinit the device during configuration if virtio queues are not allocated. Signed-off-by: Alexander Chernavin --- drivers/net/virtio/virtio_ethdev.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_e