From: David Ahern <dsahern@kernel.org>
To: Stephen Hemminger <stephen@networkplumber.org>, netdev@vger.kernel.org
Subject: Re: [PATCH iproute2-next 0/7] bpf: fix mount point parsing and drop the legacy loader
Date: Mon, 23 Nov 2026 14:00:02 -0700 [thread overview]
Message-ID: <5a7ea9e4-cc8d-4b3d-9bf3-142d31b3fea1@kernel.org> (raw)
In-Reply-To: <20261119190312.578885-1-stephen@networkplumber.org>
On 11/19/26 12:02 PM, Stephen Hemminger wrote:
> While looking at OSS Scanner reports noticed a pattern of issues
> around the BPF loader. The first set related to parsing of
> mount points with fscanf("%s").
>
> The next part were issues from the legacy BPF loader which
> is no longer needed. This series rips the band-aid off
> and related parts no longer needed.
>
> There were also some bugs in error handling found
> while changing all this.
>
> Note: lib/bpf_legacy.c becomes lib/bpf_util.c. "ar rcs" does not
> drop members that are no longer built, so a stale bpf_legacy.o and
> sha1.o stay in lib/libutil.a and are picked up by the link. The
> build still succeeds, but run "make distclean" to be rid of them.
>
> The libbpf build options are gone: libbpf is now always required,
> and pkg-config is the only way it is found. Both --libbpf_force and
> --libbpf_dir are now rejected rather than silently ignored.
>
> The last patch adds a tc bpf test, there was none before. It caught
> a regression in this series that the build did not: the tc/ pin
> subdirectory quietly went missing.
>
> Since v1: squashed the four libbpf configure patches into one,
> dropped the bpf_pinning fallback fix since the loader removal
> deletes that code anyway, moved the tc-bpf(8) update next to the
> change it documents, and reworded the export removal after Jamal
> pointed out that LIBBPF_FORCE=off builds did have a working
> import/run. Dropped Toke's Reviewed-by from the mount point check:
> it now also restores the pin subdirectory, so it is not the patch
> he reviewed.
>
fixed a compile error introduced by patch 6 and applied the set to
iproute2-next
next prev parent reply other threads:[~2026-11-23 21:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-19 19:02 [PATCH iproute2-next 0/7] bpf: fix mount point parsing and drop the legacy loader Stephen Hemminger
2026-11-19 19:02 ` [PATCH iproute2-next v2 1/7] lib/bpf: parse /proc/mounts with getmntent and check fs magic Stephen Hemminger
2026-11-19 19:02 ` [PATCH iproute2-next v2 2/7] lib/fs: " Stephen Hemminger
2026-11-19 19:02 ` [PATCH iproute2-next v2 3/7] tc: remove eBPF map export and exec bpf import Stephen Hemminger
2026-11-19 20:14 ` Jamal Hadi Salim
2026-11-19 19:02 ` [PATCH iproute2-next v2 4/7] man: tc-bpf: drop references to the removed eBPF agent Stephen Hemminger
2026-11-19 19:02 ` [PATCH iproute2-next v2 5/7] lib/bpf: require libbpf 1.0 and remove legacy ELF loader Stephen Hemminger
2026-11-19 19:02 ` [PATCH iproute2-next v2 6/7] lib/bpf: check for missing bpf fs mount point Stephen Hemminger
2026-11-19 19:02 ` [PATCH iproute2-next v2 7/7] testsuite: add tc bpf test Stephen Hemminger
2026-11-23 21:00 ` David Ahern [this message]
2026-11-23 21:00 ` [PATCH iproute2-next 0/7] bpf: fix mount point parsing and drop the legacy loader patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5a7ea9e4-cc8d-4b3d-9bf3-142d31b3fea1@kernel.org \
--to=dsahern@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=stephen@networkplumber.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.