[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAKohpon6m0vX6_ZDrwUD-OBuD5WAysooJgYHSEXKstud3bh7Kw@mail.gmail.com>
Date: Thu, 27 Jun 2013 21:53:15 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Jacob Shin <jacob.shin@....com>
Cc: Tim Gardner <tim.gardner@...onical.com>,
"Rafael J. Wysocki" <rjw@...k.pl>,
LKML <linux-kernel@...r.kernel.org>, cpufreq@...r.kernel.org,
linux-pm@...r.kernel.org
Subject: Re: od_set_powersave_bias: NULL pointer dereference
On 27 June 2013 21:52, Jacob Shin <jacob.shin@....com> wrote:
> From 133f670aa1dc450fd37ba39081d046bf238c507b Mon Sep 17 00:00:00 2001
> From: Jacob Shin <jacob.shin@....com>
> Date: Thu, 27 Jun 2013 10:44:42 -0500
> Subject: [PATCH 1/1] cpufreq: don't leave stale policy pointer in
> cdbs->cur_policy
>
> Set ->cur_policy to NULL when stopping a governor. Otherwise, the
> ->cur_policy pointer may be stale on systems that
> have_governor_per_policy when a new policy is allocated due to CPU
> hotplug offline/online.
>
> Suggested-by: Viresh Kumar <viresh.kumar@...aro.org>
> Signed-off-by: Jacob Shin <jacob.shin@....com>
> ---
> drivers/cpufreq/cpufreq_governor.c | 1 +
> 1 file changed, 1 insertion(+)
Acked-by: Viresh Kumar <viresh.kumar@...aro.org>
--
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