On Mon, Sep 1, 2025 at 3:45 PM Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx> wrote: > > > Additionally, I feel the extra pointer is unnecessary. Instead, the > logic to jump to the main prog from the subprog can be (if I didn't > miss anything): > > prog->aux->func ? prog->aux->func[0]->aux ? prog-aux > > When prog->aux->func is not set, that means there are no subprogs. I > would simply wrap this logic in bpf_main_prog_aux or something. Good point. Forgot about this one.