* Re: [patch 4/4] jffs2: remove wait queue after schedule()
[not found] <20140212204458.0AD5E5A420C@corp2gmr1-2.hot.corp.google.com>
@ 2014-02-26 2:07 ` Brian Norris
0 siblings, 0 replies; only message in thread
From: Brian Norris @ 2014-02-26 2:07 UTC (permalink / raw)
To: akpm; +Cc: artem.bityutskiy, linux-mtd, lizefan, dwmw2, stable
+ linux-mtd (this patch was on the ML previously, but akpm re-sent it)
On Wed, Feb 12, 2014 at 12:44:57PM -0800, Andrew Morton wrote:
> From: Li Zefan <lizefan@huawei.com>
> Subject: jffs2: remove wait queue after schedule()
>
> @wait is a local variable, so if we don't remove it from the wait queue
> list, later wake_up() may end up accessing invalid memory.
>
> This was spotted by eyes.
>
> Signed-off-by: Li Zefan <lizefan@huawei.com>
> Cc: David Woodhouse <dwmw2@infradead.org>
> Cc: Brian Norris <computersforpeace@gmail.com>
> Cc: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Pushed to l2-mtd.git. Thanks!
Brian
^ permalink raw reply [flat|nested] only message in thread