diff options
author | Tony Ambardar <itugrok@yahoo.com> | 2021-02-20 08:56:20 -0800 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2021-03-01 00:34:23 +0100 |
commit | b048a305a3d3cbb5375e32757e70aa129b4c7c4f (patch) | |
tree | e732f905dbec8d4a4af1824eba12f727f32df54b /package/network/utils/iproute2/patches/145-keep_libelf_optional.patch | |
parent | df1e5d6463459637e2c1b39b11a05a45ed2322d4 (diff) | |
download | upstream-b048a305a3d3cbb5375e32757e70aa129b4c7c4f.tar.gz upstream-b048a305a3d3cbb5375e32757e70aa129b4c7c4f.tar.bz2 upstream-b048a305a3d3cbb5375e32757e70aa129b4c7c4f.zip |
iproute2: update to 5.11.0
The latest iproute2 version brings various improvements and fixes:
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/log/?qt=range&q=v5.10.0..v5.11.0
In particular, ip and tc now use libbpf as the standard way to load BPF
programs, rather than the old, limited custom loader. This allows more
consistent and featureful BPF program handling e.g. support for global
initialized variables.
Also fix a longstanding problem with iproute2 builds where unneeded DSO
dependencies are added to most utilities, bloating their installation
footprint. From research and testing, explicitly using a "--as-needed"
linker flag avoids the issue. Update accordingly and drop extra package
dependencies from Makefile.
Additional build and packaging updates include:
- install missing development header to iproute2/bpf_elf.h
- propagate OpenWrt verbose flag during build
- update and refresh patches
Compile and run tested: QEMU/malta-mips32be on kernels 5.4 & 5.10.
All iproute2 packages were built and installed to the test image. Some
regression testing using ip-full and tc was successfully performed to
exercise several kmods, tc modules, and simple BPF programs.
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Diffstat (limited to 'package/network/utils/iproute2/patches/145-keep_libelf_optional.patch')
-rw-r--r-- | package/network/utils/iproute2/patches/145-keep_libelf_optional.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/utils/iproute2/patches/145-keep_libelf_optional.patch b/package/network/utils/iproute2/patches/145-keep_libelf_optional.patch index d25c719f8e..c780022d1a 100644 --- a/package/network/utils/iproute2/patches/145-keep_libelf_optional.patch +++ b/package/network/utils/iproute2/patches/145-keep_libelf_optional.patch @@ -1,6 +1,6 @@ --- a/configure +++ b/configure -@@ -230,7 +230,7 @@ EOF +@@ -235,7 +235,7 @@ EOF check_elf() { |