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

2022-09-26 Thread Alexander Chernavin
When first attempt to configure a device with RX interrupt enabled fails for some reason (e.g. because "Multiple intr vector not supported"), second attempt to configure the device with RX interrupt disabled and feature set unchanged will succeed but will leave virtio queues not allocated. Accessin

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

2022-09-26 Thread Alexander Chernavin
When first attempt to configure a device with RX interrupt enabled fails for some reason (e.g. because "Multiple intr vector not supported"), second attempt to configure the device with RX interrupt disabled and feature set unchanged will succeed but will leave virtio queues not allocated. Accessin