From: Brian Norris <computersforpeace@gmail.com>
To: akpm@linux-foundation.org
Cc: artem.bityutskiy@linux.intel.com, linux-mtd@lists.infradead.org,
lizefan@huawei.com, dwmw2@infradead.org, stable@vger.kernel.org
Subject: Re: [patch 4/4] jffs2: remove wait queue after schedule()
Date: Tue, 25 Feb 2014 18:07:04 -0800 [thread overview]
Message-ID: <20140226020704.GC4194@ld-irv-0074> (raw)
In-Reply-To: <20140212204458.0AD5E5A420C@corp2gmr1-2.hot.corp.google.com>
+ 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
parent reply other threads:[~2014-02-26 2:07 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20140212204458.0AD5E5A420C@corp2gmr1-2.hot.corp.google.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140226020704.GC4194@ld-irv-0074 \
--to=computersforpeace@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=artem.bityutskiy@linux.intel.com \
--cc=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=lizefan@huawei.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox