No description
Find a file
Quentin Monnet ebbd7f64a3 bpftool: Fix memory leak in prog_dump()
Following the extraction of prog_dump() from do_dump(), the struct btf
allocated in prog_dump() is no longer freed on error; the struct
bpf_prog_linfo is not freed at all. Make sure we release them before
exiting the function.

Fixes: ec2025095c ("bpftool: Match several programs with same tag")
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211110114632.24537-2-quentin@isovalent.com
2021-11-14 18:34:08 -08:00
arch arm64/bpf: Remove 128MB limit for BPF JIT programs 2021-11-08 22:16:26 +01:00
block
certs
crypto Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2021-11-01 21:24:02 -07:00
Documentation docs/bpf: Update documentation for BTF_KIND_TYPE_TAG support 2021-11-11 17:41:11 -08:00
drivers Core: 2021-11-02 06:20:58 -07:00
fs audit/stable-5.16 PR 20211101 2021-11-01 21:17:39 -07:00
include bpf: Introduce btf_tracing_ids 2021-11-12 10:19:09 -08:00
init Tracing updates for 5.16: 2021-11-01 20:05:19 -07:00
ipc
kernel bpf: Introduce btf_tracing_ids 2021-11-12 10:19:09 -08:00
lib Core: 2021-11-02 06:20:58 -07:00
LICENSES
mm
net bpf: Extend BTF_ID_LIST_GLOBAL with parameter for number of IDs 2021-11-12 10:19:09 -08:00
samples Core: 2021-11-02 06:20:58 -07:00
scripts Core: 2021-11-02 06:20:58 -07:00
security audit/stable-5.16 PR 20211101 2021-11-01 21:17:39 -07:00
sound
tools bpftool: Fix memory leak in prog_dump() 2021-11-14 18:34:08 -08:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap media updates for v5.16-rc1 2021-11-01 18:45:08 -07:00
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS Core: 2021-11-02 06:20:58 -07:00
Makefile Core: 2021-11-02 06:20:58 -07:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.