Files
linux-stable-mirror/include/linux
Andrii NakryikoandGreg Kroah-Hartman f020d8a03e bpf: Consistently use bpf_rcu_lock_held() everywhere
[ Upstream commit 48a97ffc6c ]

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
Stable-dep-of: 2f884d371f ("bpf: Allow LPM map access from sleepable BPF programs")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-07-24 15:55:16 +02:00
..
2026-03-04 07:19:30 -05:00
2025-09-11 17:19:15 +02:00
2026-07-24 15:54:27 +02:00
2024-12-14 19:54:37 +01:00
2026-07-24 15:54:17 +02:00
2026-01-11 15:19:01 +01:00
2026-07-24 15:55:16 +02:00
2025-07-06 10:58:04 +02:00
2026-01-11 15:18:35 +01:00
2025-06-04 14:40:25 +02:00
2026-06-01 17:39:24 +02:00
2025-08-15 12:04:54 +02:00
2026-06-19 13:37:20 +02:00
2026-01-11 15:18:48 +01:00
2025-02-01 18:30:05 +01:00
2026-01-11 15:19:13 +01:00