On Tue, May 21, 2024 at 06:20 PM GMT, patchwork-bot+netdev...@kernel.org wrote:
> Hello:
>
> This patch was applied to bpf/bpf-next.git (master)
> by Andrii Nakryiko <and...@kernel.org>:
>
> On Fri, 17 May 2024 14:21:46 +0800 you wrote:
>> From: Geliang Tang <tanggeli...@kylinos.cn>
>> 
>> bpf_prog5 and bpf_prog7 are removed from progs/test_sockmap_kern.h in
>> commit d79a32129b21 ("bpf: Selftests, remove prints from sockmap tests"),
>> now there are only 9 progs in it, not 11:
>> 
>>      SEC("sk_skb1")
>>      int bpf_prog1(struct __sk_buff *skb)
>>      SEC("sk_skb2")
>>      int bpf_prog2(struct __sk_buff *skb)
>>      SEC("sk_skb3")
>>      int bpf_prog3(struct __sk_buff *skb)
>>      SEC("sockops")
>>      int bpf_sockmap(struct bpf_sock_ops *skops)
>>      SEC("sk_msg1")
>>      int bpf_prog4(struct sk_msg_md *msg)
>>      SEC("sk_msg2")
>>      int bpf_prog6(struct sk_msg_md *msg)
>>      SEC("sk_msg3")
>>      int bpf_prog8(struct sk_msg_md *msg)
>>      SEC("sk_msg4")
>>      int bpf_prog9(struct sk_msg_md *msg)
>>      SEC("sk_msg5")
>>      int bpf_prog10(struct sk_msg_md *msg)
>> 
>> [...]
>
> Here is the summary with links:
>   - [bpf-next] selftests/bpf: Fix prog numbers in test_sockmap
>     https://git.kernel.org/bpf/bpf-next/c/6c8d7598dfed
>
> You are awesome, thank you!

We don't need prog_types and attach_types at all.
I was too late too comment so here's a patch to address that:

https://lore.kernel.org/bpf/20240522080936.2475833-1-ja...@cloudflare.com/

Reply via email to