From: Namhyung Kim Date: Mon, 1 Apr 2013 12:46:23 +0000 (+0900) Subject: tracing: Fix double free when function profile init failed X-Git-Tag: v3.9-rc7~25^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83e03b3fe4daffdebbb42151d5410d730ae50bd1;p=pandora-kernel.git tracing: Fix double free when function profile init failed On the failure path, stat->start and stat->pages will refer same page. So it'll attempt to free the same page again and get kernel panic. Link: http://lkml.kernel.org/r/1364820385-32027-1-git-send-email-namhyung@kernel.org Cc: Frederic Weisbecker Cc: Namhyung Kim Cc: stable@vger.kernel.org Signed-off-by: Namhyung Kim Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed