On Wed, Jul 3, 2024 at 6:27 PM Maxime Coquelin
<[email protected]> 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 <[email protected]>
> Signed-off-by: Maxime Coquelin <[email protected]>

Reviewed-by: David Marchand <[email protected]>


-- 
David Marchand

Reply via email to