Re: [PATCH] UBI: Fix double free after do_sync_erase()

From: Artem Bityutskiy
Date: Fri Nov 07 2014 - 06:50:53 EST


On Thu, 2014-11-06 at 16:47 +0100, Richard Weinberger wrote:
> If the erase worker is unable to erase a PEB it will
> free the ubi_wl_entry itself.
> The failing ubi_wl_entry must not free()'d again after
> do_sync_erase() returns.
>
> Cc: <stable@xxxxxxxxxxxxxxx>
> Signed-off-by: Richard Weinberger <richard@xxxxxx>

Pushed, thanks!


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/