bpf, docs: Document existing macros instead of deprecated
authorAnton Protopopov <aspsk@isovalent.com>
Thu, 22 Jun 2023 09:54:24 +0000 (09:54 +0000)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 22 Jun 2023 17:47:32 +0000 (19:47 +0200)
commitfbc5669de62a452fb3a26a4560668637d5c9e7b5
treec1f38656a5b40a194ff1d24c68b264b9a30cecf1
parent2404dd01b53430e4ab78fc9ca069e9e93fd22059
bpf, docs: Document existing macros instead of deprecated

The BTF_TYPE_SAFE_NESTED macro was replaced by the BTF_TYPE_SAFE_TRUSTED,
BTF_TYPE_SAFE_RCU, and BTF_TYPE_SAFE_RCU_OR_NULL macros. Fix the docs
correspondingly.

Fixes: 6fcd486b3a0a ("bpf: Refactor RCU enforcement in the verifier.")
Signed-off-by: Anton Protopopov <aspsk@isovalent.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20230622095424.1024244-1-aspsk@isovalent.com
Documentation/bpf/kfuncs.rst