diff options
author | Daniel Borkmann | 2018-06-15 02:30:47 +0200 |
---|---|---|
committer | Alexei Starovoitov | 2018-06-15 20:14:25 +0200 |
commit | 7d1982b4e335c1b184406b7566f6041bfe313c35 (patch) | |
tree | 885f83b1f8e96c502c2939838d22e63756c7b011 /include/drm/intel-gtt.h | |
parent | bpf, selftests: delete xfrm tunnel when test exits. (diff) | |
download | kernel-qcow2-linux-7d1982b4e335c1b184406b7566f6041bfe313c35.tar.gz kernel-qcow2-linux-7d1982b4e335c1b184406b7566f6041bfe313c35.tar.xz kernel-qcow2-linux-7d1982b4e335c1b184406b7566f6041bfe313c35.zip |
bpf: fix panic in prog load calls cleanup
While testing I found that when hitting error path in bpf_prog_load()
where we jump to free_used_maps and prog contained BPF to BPF calls
that were JITed earlier, then we never clean up the bpf_prog_kallsyms_add()
done under jit_subprogs(). Add proper API to make BPF kallsyms deletion
more clear and fix that.
Fixes: 1c2a088a6626 ("bpf: x64: add JIT support for multi-function programs")
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/drm/intel-gtt.h')
0 files changed, 0 insertions, 0 deletions