[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1376925707.2089.493.camel@sauron.fi.intel.com>
Date: Mon, 19 Aug 2013 18:21:47 +0300
From: Artem Bityutskiy <dedekind1@...il.com>
To: Richard Weinberger <richard@....at>
Cc: dwmw2@...radead.org, linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH] UBI: Fix PEB leak in wear_leveling_worker()
On Mon, 2013-08-19 at 08:48 +0200, Richard Weinberger wrote:
> get_peb_for_wl() removes the PEB from the free list.
> If the WL subsystem detects that no wear leveling is needed
> it cancels the operation and drops the gained PEB.
> In this case we have to put the PEB back into the free list.
>
> This issue was introduced with commit ed4b7021c
> (UBI: remove PEB from free tree in get_peb_for_wl()).
>
> Cc: <stable@...r.kernel.org> # 3.7.x
> Signed-off-by: Richard Weinberger <richard@....at>
Pushed to linux-ubi.git, thanks.
And special thanks for taking care about Ccing -stable.
--
Best Regards,
Artem Bityutskiy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists