bpf: Move cgroup iterator helpers to bpf.h

[ Upstream commit 9621e60f59 ]

Move them into bpf.h given we also need them in core code.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/r/20250730234733.530041-3-daniel@iogearbox.net
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Daniel Borkmann 2025-07-31 01:47:32 +02:00 • committed by Greg Kroah-Hartman
commit bfb8da7a5d
2 changed files with 101 additions and 13 deletions