diff options
author | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2025-09-24 09:26:39 +0900 |
---|---|---|
committer | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2025-09-24 23:18:26 +0900 |
commit | c539feff3c8f8c86213eee2b237410714712c326 (patch) | |
tree | 118ac1fd65083afb6c6796b7c3d3879487812dd2 /rust/helpers/workqueue.c | |
parent | dc3382fffdec2c1d6df5836c88fa37b39cd8651e (diff) |
tracing: fprobe: Fix to remove recorded module addresses from filter
Even if there is a memory allocation failure in fprobe_addr_list_add(),
there is a partial list of module addresses. So remove the recorded
addresses from filter if exists.
This also removes the redundant ret local variable.
Fixes: a3dc2983ca7b ("tracing: fprobe: Cleanup fprobe hash when module unloading")
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Cc: stable@vger.kernel.org
Reviewed-by: Menglong Dong <menglong8.dong@gmail.com>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions