summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2025-10-14 13:14:03 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2025-10-15 12:26:12 +0200
commit48a97ffc6c826640907d13b199e29008f4fe2c15 (patch)
tree3e28e07a0b2211e20e94419411348491d1d0c8d9 /net/core
parent39e9d5f63075f4d54e3b59b8238478c32af92755 (diff)
bpf: Consistently use bpf_rcu_lock_held() everywhere
We have many places which open-code what's now is bpf_rcu_lock_held() macro, so replace all those places with a clean and short macro invocation. For that, move bpf_rcu_lock_held() macro into include/linux/bpf.h. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Jiri Olsa <jolsa@kernel.org> Link: https://lore.kernel.org/bpf/20251014201403.4104511-1-andrii@kernel.org
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions