diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-11 02:56:57 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-11 02:56:57 +0400 |
commit | 9baba6660bb616ca6272314a62febe8f6726ad30 (patch) | |
tree | 66d79a8ab8301e65b55ad402750fc4860e36820a /kernel | |
parent | fe2971a01762963c62e9872bfcf0632546342c0f (diff) | |
parent | 83e03b3fe4daffdebbb42151d5410d730ae50bd1 (diff) | |
download | linux-9baba6660bb616ca6272314a62febe8f6726ad30.tar.xz |
Merge tag 'trace-fixes-3.9-rc-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
Pull tracing fix from Steven Rostedt:
"Namhyung Kim fixed a long standing bug that can cause a kernel panic.
If the function profiler fails to allocate memory for everything, it
will do a double free on the same pointer which can cause a panic"
* tag 'trace-fixes-3.9-rc-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
tracing: Fix double free when function profile init failed
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/trace/ftrace.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index 7e897106b7e0..926ebfb74936 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c @@ -694,7 +694,6 @@ int ftrace_profile_pages_init(struct ftrace_profile_stat *stat) free_page(tmp); } - free_page((unsigned long)stat->pages); stat->pages = NULL; stat->start = NULL; |