Re: [PATCH bpf] libbpf: Enforce program limit only for loaded programs
From: Mahe Tardy
Date: Fri Oct 30 2026 - 15:08:43 EST
On Fri, Oct 30, 2026 at 11:35:41AM -0700, Andrii Nakryiko wrote:
> On Fri, Oct 30, 2026 at 2:23 AM Mahe Tardy <mahe.tardy@xxxxxxxxx> wrote:
> >
> > As explained in commit '259172bb6514 ("libbpf: Fix gen_loader assumption
> > on number of programs.")', nr_progs which is obj->nr_programs at this
> > stage is including subprogs and autoload=false progs which are filtered
> > later during the generation.
> >
> > Quoting Alexei, previous patch 'aac5ba0a4d52 ("libbpf: Reject excessive
>
> we had a rebase, git sha changed, updated it here and in Fixes below.
> because of that patchworks bot might not send confirmation, but this
> landed in bpf-next, thanks
Thanks Andrii, indeed I didn't know. Have a nice weekend!