Thread (3 messages) 3 messages, 2 authors, 2021-08-24

Re: [PATCH bpf-next v2 0/1] Refactor cgroup_bpf internals to use more specific attach_type

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-08-24 01:02:06
Also in: netdev

Hello:

This patch was applied to bpf/bpf-next.git (refs/heads/master):

On Thu, 19 Aug 2021 02:24:19 -0700 you wrote:
The cgroup_bpf struct has a few arrays (effective, progs, and flags) of
size MAX_BPF_ATTACH_TYPE. These are meant to separate progs by their
attach type, currently represented by the bpf_attach_type enum.

There are some bpf_attach_type values which are not valid attach types
for cgroup bpf programs. Programs with these attach types will never be
handled by cgroup_bpf_{attach,detach} and thus will never be held in
cgroup_bpf structs. Even if such programs did make it into their
reserved slot in those arrays, they would never be executed.

[...]
Here is the summary with links:
  - [bpf-next,v2,1/1] bpf: migrate cgroup_bpf to internal cgroup_bpf_attach_type enum
    https://git.kernel.org/bpf/bpf-next/c/4ed589a27893

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help