diff options
author | Jiri Olsa <[email protected]> | 2022-08-02 15:56:51 +0200 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2022-08-05 09:43:58 -0700 |
commit | 62d468e5e10012e8b67d066ba7bac0a8afdc3cee (patch) | |
tree | e59c70f1f60ed7ea69378edc72483190cb7d1706 /scripts/gdb/linux/utils.py | |
parent | e2dcac2f58f5a95ab092d1da237ffdc0da1832cf (diff) |
bpf: Cleanup ftrace hash in bpf_trampoline_put
We need to release possible hash from trampoline fops object
before removing it, otherwise we leak it.
Fixes: 00963a2e75a8 ("bpf: Support bpf_trampoline on functions with IPMODIFY (e.g. livepatch)")
Signed-off-by: Jiri Olsa <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions