]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Convert PTR_TO_MEM_OR_NULL to composable types.
authorHao Luo <haoluo@google.com>
Fri, 17 Dec 2021 00:31:49 +0000 (16:31 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 18 Dec 2021 21:27:41 +0000 (13:27 -0800)
commitd01ac534157ef03cc33932de537d51f33e2a296e
treea0c62f903c10857e4bb6e0bbc1d2d77641b5b469
parent2fce41254815c607622fb4fd7bb09d365a386164
bpf: Convert PTR_TO_MEM_OR_NULL to composable types.

Remove PTR_TO_MEM_OR_NULL and replace it with PTR_TO_MEM combined with
flag PTR_MAYBE_NULL.

Signed-off-by: Hao Luo <haoluo@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20211217003152.48334-7-haoluo@google.com
include/linux/bpf.h
kernel/bpf/btf.c
kernel/bpf/verifier.c