diff options
author | Jiri Olsa <jolsa@kernel.org> | 2022-08-02 15:56:51 +0200 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2022-08-05 09:43:58 -0700 |
commit | 62d468e5e10012e8b67d066ba7bac0a8afdc3cee (patch) | |
tree | e59c70f1f60ed7ea69378edc72483190cb7d1706 /include/net/mptcp.h | |
parent | e2dcac2f58f5a95ab092d1da237ffdc0da1832cf (diff) | |
download | linux-62d468e5e10012e8b67d066ba7bac0a8afdc3cee.tar.bz2 |
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 <jolsa@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/bpf/20220802135651.1794015-1-jolsa@kernel.org
Diffstat (limited to 'include/net/mptcp.h')
0 files changed, 0 insertions, 0 deletions