diff options
| author | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2025-09-24 09:26:39 +0900 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-10-02 13:48:36 +0200 |
| commit | e57d19757aeb2c09a00f6a34d07b99ef94696859 (patch) | |
| tree | e837cfcea5ba4493fa0fafda271769446d49270c /include/net/aligned_data.h | |
| parent | cbb8c94f92d0c36fba9d7d5aed9705fc19f0f5e8 (diff) | |
tracing: fprobe: Fix to remove recorded module addresses from filter
commit c539feff3c8f8c86213eee2b237410714712c326 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
