diff options
author | Alexei Starovoitov <ast@kernel.org> | 2021-02-11 19:35:00 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-02-11 19:35:00 -0800 |
commit | 1336c662474edec3966c96c8de026f794d16b804 (patch) | |
tree | d891b4d525f53a144fe35653153ba84127435b0c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 6fdd671baaf587cca17603485f9ef4bf7a1f9be1 (diff) |
bpf: Clear per_cpu pointers during bpf_prog_realloc
bpf_prog_realloc copies contents of struct bpf_prog.
The pointers have to be cleared before freeing old struct.
Reported-by: Ilya Leoshkevich <iii@linux.ibm.com>
Fixes: 700d4796ef59 ("bpf: Optimize program stats")
Fixes: ca06f55b9002 ("bpf: Add per-program recursion prevention mechanism")
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions