[PATCH v12 05/12] net/tap: do not build flow support if header is out of date
Ferruh Yigit
ferruh.yigit at amd.com
Mon May 20 19:47:19 CEST 2024
On 5/2/2024 10:31 PM, Stephen Hemminger wrote:
> The proper place for finding bpf structures and functions is
> in linux/bpf.h. The original version was trying to workaround the
> case where the build environment was running on old pre BPF
> version of Glibc, but the target environment had BPF.
>
> Having own private (and divergent) version headers leads to future
> problems when BPF definitions evolve.
>
> If the build infrastructure is so old that TC flower is not
> supported, then the TAP device will build without any flow support.
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
>
Simplification is good, but I hope it doesn't break too many platforms.
Acked-by: Ferruh Yigit <ferruh.yigit at amd.com>
More information about the dev
mailing list