On Wed, Jul 3, 2024 at 6:27 PM Maxime Coquelin <maxime.coque...@redhat.com> wrote: > > For non-vDPA backends, where the backend does not support > control queue, it is still emulated in the Virtio-user > layer to handle multiqueue feature. The frontend setups a > control queue, which is hidden to the device. It means the > number of vrings metadata to allocate should be based on > the frontend features and not the device features. > > This patch fixes out-of-range access reported by ASan, > which could sometimes be noticed at exit time by a > segmentation fault when disabled: > > Fixes: b80947743f5e ("net/virtio-user: fix control queue allocation") > > Reported-by: David Marchand <david.march...@redhat.com> > Signed-off-by: Maxime Coquelin <maxime.coque...@redhat.com>
Reviewed-by: David Marchand <david.march...@redhat.com> -- David Marchand