No description
Find a file
Kumar Kartikeya Dwivedi 2de2669b4e bpf: Rename RET_PTR_TO_ALLOC_MEM
Currently, the verifier has two return types, RET_PTR_TO_ALLOC_MEM, and
RET_PTR_TO_ALLOC_MEM_OR_NULL, however the former is confusingly named to
imply that it carries MEM_ALLOC, while only the latter does. This causes
confusion during code review leading to conclusions like that the return
value of RET_PTR_TO_DYNPTR_MEM_OR_NULL (which is RET_PTR_TO_ALLOC_MEM |
PTR_MAYBE_NULL) may be consumable by bpf_ringbuf_{submit,commit}.

Rename it to make it clear MEM_ALLOC needs to be tacked on top of
RET_PTR_TO_MEM.

Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/r/20221114191547.1694267-6-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2022-11-14 21:52:45 -08:00
arch net: remove skb->vlan_present 2022-11-11 18:18:05 -08:00
block
certs
crypto
Documentation bpf: Remove local kptr references in documentation 2022-11-14 21:52:45 -08:00
drivers mlx5-updates-2022-11-12 2022-11-14 11:35:28 +00:00
fs
include bpf: Rename RET_PTR_TO_ALLOC_MEM 2022-11-14 21:52:45 -08:00
init
io_uring
ipc
kernel bpf: Rename RET_PTR_TO_ALLOC_MEM 2022-11-14 21:52:45 -08:00
lib net: remove skb->vlan_present 2022-11-11 18:18:05 -08:00
LICENSES
mm
net net: flow_offload: add support for ARP frame matching 2022-11-14 11:24:16 +00:00
rust
samples
scripts
security
sound
tools bpf: Support bpf_list_head in map values 2022-11-14 21:52:45 -08:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS MAINTAINERS: update MEDIATEK ETHERNET entry 2022-11-11 08:09:32 +00:00
Makefile
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.