[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1356623722.17740.0.camel@deadeye.wl.decadent.org.uk>
Date: Thu, 27 Dec 2012 16:55:22 +0100
From: Ben Hutchings <ben@...adent.org.uk>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: linux-kernel@...r.kernel.org, stable <stable@...r.kernel.org>,
Ingo Molnar <mingo@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Thomas Gleixner <tglx@...utronix.de>,
Frederic Weisbecker <fweisbec@...il.com>
Subject: Re: [v3.2-v3.4 stable version][PATCH 1/2] ring-buffer: Fix NULL
pointer if rb_set_head_page() fails
On Fri, 2012-11-30 at 11:18 -0500, Steven Rostedt wrote:
> The function rb_set_head_page() searches the list of ring buffer
> pages for a the page that has the HEAD page flag set. If it does
> not find it, it will do a WARN_ON(), disable the ring buffer and
> return NULL, as this should never happen.
>
> But if this bug happens to happen, not all callers of this function
> can handle a NULL pointer being returned from it. That needs to be
> fixed.
>
> Cc: stable@...r.kernel.org # 3.0+
> Signed-off-by: Steven Rostedt <rostedt@...dmis.org>
[...]
Added to the queue for 3.2, thanks.
Ben.
--
Ben Hutchings
The world is coming to an end. Please log off.
Download attachment "signature.asc" of type "application/pgp-signature" (829 bytes)
Powered by blists - more mailing lists