Re: [PATCH bpf v2 1/2] selftests/bpf: add a test for subprogram extables

From: Alexei Starovoitov
Date: Thu Jun 08 2023 - 18:02:45 EST


On Thu, Jun 8, 2023 at 10:40 AM Yonghong Song <yhs@xxxxxxxx> wrote:
>
>
>
> On 6/7/23 2:04 PM, Krister Johansen wrote:
> > In certain situations a program with subprograms may have a NULL
> > extable entry. This should not happen, and when it does, it turns a
> > single trap into multiple. Add a test case for further debugging and to
> > prevent regressions. N.b: without any other patches this can panic or
> > oops a kernel.
>
> Also, it would be great if you can show the kernel oops stack trace.

+1

Also please reorder the patches.
patch 1 - fix
patch 2 - test for the fix.