Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752866Ab3F0QXS (ORCPT ); Thu, 27 Jun 2013 12:23:18 -0400 Received: from mail-ob0-f177.google.com ([209.85.214.177]:46834 "EHLO mail-ob0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752037Ab3F0QXQ (ORCPT ); Thu, 27 Jun 2013 12:23:16 -0400 MIME-Version: 1.0 In-Reply-To: <20130627162203.GB5324@jshin-Toonie> References: <20130625161935.GA10208@jshin-Toonie> <20130626142852.GA2326@jshin-Toonie> <20130626175722.GA20226@jshin-Toonie> <20130627145505.GA3076@jshin-Toonie> <20130627162203.GB5324@jshin-Toonie> Date: Thu, 27 Jun 2013 21:53:15 +0530 Message-ID: Subject: Re: od_set_powersave_bias: NULL pointer dereference From: Viresh Kumar To: Jacob Shin Cc: Tim Gardner , "Rafael J. Wysocki" , LKML , cpufreq@vger.kernel.org, linux-pm@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1008 Lines: 24 On 27 June 2013 21:52, Jacob Shin wrote: > From 133f670aa1dc450fd37ba39081d046bf238c507b Mon Sep 17 00:00:00 2001 > From: Jacob Shin > 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 > Signed-off-by: Jacob Shin > --- > drivers/cpufreq/cpufreq_governor.c | 1 + > 1 file changed, 1 insertion(+) Acked-by: Viresh Kumar -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/