summaryrefslogtreecommitdiffstats
path: root/tools/include/uapi/linux/bpf.h
diff options
context:
space:
mode:
authorMartin KaFai Lau2018-12-02 02:08:44 +0100
committerAlexei Starovoitov2018-12-02 18:12:58 +0100
commit5482e9a93c83839f94e75db712e6837e6a39962c (patch)
tree4a6563610f69436aa35887e450992e7fb8a941d9 /tools/include/uapi/linux/bpf.h
parentMerge branch 'xdp1-improvements' (diff)
downloadkernel-qcow2-linux-5482e9a93c83839f94e75db712e6837e6a39962c.tar.gz
kernel-qcow2-linux-5482e9a93c83839f94e75db712e6837e6a39962c.tar.xz
kernel-qcow2-linux-5482e9a93c83839f94e75db712e6837e6a39962c.zip
bpf: Fix memleak in aux->func_info and aux->btf
The aux->func_info and aux->btf are leaked in the error out cases during bpf_prog_load(). This patch fixes it. Fixes: ba64e7d85252 ("bpf: btf: support proper non-jit func info") Cc: Yonghong Song <yhs@fb.com> Signed-off-by: Martin KaFai Lau <kafai@fb.com> Acked-by: Yonghong Song <yhs@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/include/uapi/linux/bpf.h')
0 files changed, 0 insertions, 0 deletions