Re: [PATCH] ftrace: Free the trampoline when ftrace_startup() fails

2020-09-18 Thread Steven Rostedt
On Mon, 31 Aug 2020 14:56:57 +0200 (CEST) Miroslav Benes wrote: > I used Masami's address which did not work. Sorry about that. Should be ok > now. Thanks Miroslav, I've queued this up to be tested and pushed as urgent. -- Steve > > On Mon, 31 Aug 2020, Miroslav Benes wrote: > > > Commit

Re: [PATCH] ftrace: Free the trampoline when ftrace_startup() fails

2020-08-31 Thread Miroslav Benes
I used Masami's address which did not work. Sorry about that. Should be ok now. On Mon, 31 Aug 2020, Miroslav Benes wrote: > Commit fc0ea795f53c ("ftrace: Add symbols for ftrace trampolines") > missed to remove ops from new ftrace_ops_trampoline_list in > ftrace_startup() if

[PATCH] ftrace: Free the trampoline when ftrace_startup() fails

2020-08-31 Thread Miroslav Benes
Commit fc0ea795f53c ("ftrace: Add symbols for ftrace trampolines") missed to remove ops from new ftrace_ops_trampoline_list in ftrace_startup() if ftrace_hash_ipmodify_enable() fails there. It may lead to BUG if such ops come from a module which may be removed. Moreover, the trampoline itself is