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.2.44~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb8384c36adbba5af69cc0c6fcb92d8c7135835d;p=pandora-kernel.git tracing: Fix double free when function profile init failed commit 83e03b3fe4daffdebbb42151d5410d730ae50bd1 upstream. 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 Signed-off-by: Namhyung Kim Signed-off-by: Steven Rostedt Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed