Steven Rostedt 84047e360a function-graph: always initialize task ret_stack
On creating a new task while running the function graph tracer, if
we fail to allocate the ret_stack, and then fail the fork, the
code will free the parent ret_stack. This is because the child
duplicated the parent and currently points to the parent's ret_stack.

This patch always initializes the task's ret_stack to NULL.

[ Impact: prevent crash of parent on low memory during fork ]

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2009-06-02 16:51:55 -04:00
..
2009-03-20 10:17:07 +01:00
2009-04-10 13:08:50 +02:00
2009-04-03 12:23:09 +02:00
2009-03-22 18:38:46 +01:00
2009-04-13 23:39:57 +02:00
2009-03-25 18:32:34 +01:00