Re: [PATCH 01/12] swiotlb-xen: avoid double free

From: Christoph Hellwig
Date: Wed Sep 08 2021 - 02:49:42 EST


On Tue, Sep 07, 2021 at 02:04:25PM +0200, Jan Beulich wrote:
> Of the two paths leading to the "error" label in xen_swiotlb_init() one
> didn't allocate anything, while the other did already free what was
> allocated.
>
> Fixes: b82776005369 ("xen/swiotlb: Use the swiotlb_late_init_with_tbl to init Xen-SWIOTLB late when PV PCI is used")
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>