Re: [PATCH] virtio-vdpa: Fix cpumask memory leak in virtio_vdpa_find_vqs()

From: Yongji Xie
Date: Sun Jul 30 2023 - 22:24:04 EST


On Thu, Jul 27, 2023 at 3:11 AM Dragos Tatulea <dtatulea@xxxxxxxxxx> wrote:
>
> From: Gal Pressman <gal@xxxxxxxxxx>
>
> Free the cpumask allocated by create_affinity_masks() before returning
> from the function.
>
> Fixes: 3dad56823b53 ("virtio-vdpa: Support interrupt affinity spreading mechanism")
> Signed-off-by: Gal Pressman <gal@xxxxxxxxxx>
> Reviewed-by: Dragos Tatulea <dtatulea@xxxxxxxxxx>

Reviewed-by: Xie Yongji <xieyongji@xxxxxxxxxxxxx>

Thanks,
Yongji