Skip to content
Commit e3944bfa authored by Steven Rostedt's avatar Steven Rostedt
Browse files

tracing, x86: fix fixup section to return to original code



Impact: fix to prevent a kernel crash on fault

If for some reason the pointer to the parent function on the
stack takes a fault, the fix up code will not return back to
the original faulting code. This can lead to unpredictable
results and perhaps even a kernel panic.

A fault should not happen, but if it does, we should simply
disable the tracer, warn, and continue running the kernel.
It should not lead to a kernel crash.

Signed-off-by: default avatarSteven Rostedt <srostedt@redhat.com>
parent acd89579
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment