Re: [PATCH bpf-next 1/3] selftests/bpf: Shuffle cookies symbols in kprobe multi test

From: Song Liu
Date: Mon May 30 2022 - 01:37:21 EST




> On May 27, 2022, at 1:56 PM, Jiri Olsa <jolsa@xxxxxxxxxx> wrote:
>
> There's a kernel bug that causes cookies to be misplaced and
> the reason we did not catch this with this test is that we
> provide bpf_fentry_test* functions already sorted by name.
>
> Shuffling function bpf_fentry_test2 deeper in the list and
> keeping the current cookie values as before will trigger
> the bug.
>
> The kernel fix is coming in following changes.
>
> Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx>

Acked-by: Song Liu <songliubraving@xxxxxx>