Re: [PATCH bpf-next v5 2/2] selftests: bpf: test BPF_PROG_QUERY for progs attached to sockmap

From: Yonghong Song
Date: Fri Nov 05 2021 - 00:25:18 EST




On 11/4/21 6:57 PM, Di Zhu wrote:
Add test for querying progs attached to sockmap. we use an existing
libbpf query interface to query prog cnt before and after progs
attaching to sockmap and check whether the queried prog id is right.

Signed-off-by: Di Zhu <zhudi2@xxxxxxxxxx>

Acked-by: Yonghong Song <yhs@xxxxxx>