summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens2025-10-25 21:32:40 +0000
committerHauke Mehrtens2025-11-08 20:17:50 +0000
commit6d04c7b6dc2d9ea5b278b5a6125df6652dbd09fb (patch)
treeaa8d3acb39d5a4457ca8eefd01077e8ebc82f851
parentb4a8ba2e88681af12287eea2d18c4f7de25e280e (diff)
downloadopenwrt-6d04c7b6dc2d9ea5b278b5a6125df6652dbd09fb.tar.gz
iproute2: Update to version 6.17
https://www.spinics.net/lists/netdev/msg1094722.html https://www.spinics.net/lists/netdev/msg1112693.html https://www.spinics.net/lists/netdev/msg1126307.html Only small size increases: ``` 42470 bin/packages/mipsel_24kc/base/devlink-6.17.0-r1.apk 7553 bin/packages/mipsel_24kc/base/genl-6.17.0-r1.apk 35340 bin/packages/mipsel_24kc/base/ip-bridge-6.17.0-r1.apk 195151 bin/packages/mipsel_24kc/base/ip-full-6.17.0-r1.apk 133690 bin/packages/mipsel_24kc/base/ip-tiny-6.17.0-r1.apk 12185 bin/packages/mipsel_24kc/base/nstat-6.17.0-r1.apk 21484 bin/packages/mipsel_24kc/base/rdma-6.17.0-r1.apk 40935 bin/packages/mipsel_24kc/base/ss-6.17.0-r1.apk 168132 bin/packages/mipsel_24kc/base/tc-bpf-6.17.0-r1.apk 169667 bin/packages/mipsel_24kc/base/tc-full-6.17.0-r1.apk 144693 bin/packages/mipsel_24kc/base/tc-tiny-6.17.0-r1.apk 41654 bin/packages/mipsel_24kc/base/devlink-6.14.0-r1.apk 7551 bin/packages/mipsel_24kc/base/genl-6.14.0-r1.apk 32847 bin/packages/mipsel_24kc/base/ip-bridge-6.14.0-r1.apk 194398 bin/packages/mipsel_24kc/base/ip-full-6.14.0-r1.apk 132656 bin/packages/mipsel_24kc/base/ip-tiny-6.14.0-r1.apk 12114 bin/packages/mipsel_24kc/base/nstat-6.14.0-r1.apk 21366 bin/packages/mipsel_24kc/base/rdma-6.14.0-r1.apk 40939 bin/packages/mipsel_24kc/base/ss-6.14.0-r1.apk 163878 bin/packages/mipsel_24kc/base/tc-bpf-6.14.0-r1.apk 165511 bin/packages/mipsel_24kc/base/tc-full-6.14.0-r1.apk 140497 bin/packages/mipsel_24kc/base/tc-tiny-6.14.0-r1.apk ``` Link: https://github.com/openwrt/openwrt/pull/20545 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--package/network/utils/iproute2/Makefile4
-rw-r--r--package/network/utils/iproute2/patches/001-lib-bridge-avoid-redefinition-of-in6_addr.patch27
-rw-r--r--package/network/utils/iproute2/patches/115-add-config-xtlibdir.patch2
-rw-r--r--package/network/utils/iproute2/patches/170-ip_tiny.patch2
-rw-r--r--package/network/utils/iproute2/patches/180-drop_FAILED_POLICY.patch2
-rw-r--r--package/network/utils/iproute2/patches/195-build_variant_ip_tc.patch2
6 files changed, 33 insertions, 6 deletions
diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile
index 6b7dee71c9..1e02cd01b2 100644
--- a/package/network/utils/iproute2/Makefile
+++ b/package/network/utils/iproute2/Makefile
@@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=iproute2
-PKG_VERSION:=6.14.0
+PKG_VERSION:=6.17.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@KERNEL/linux/utils/net/iproute2
-PKG_HASH:=a6d23588150096591c3d00fc27a324a82ee71d7a1a9eea78df5df17ad9b8461f
+PKG_HASH:=9781e59410ab7dea8e9f79bb10ff1488e63d10fcbb70503b94426ba27a8e2dec
PKG_BUILD_PARALLEL:=1
PKG_BUILD_DEPENDS:=iptables
PKG_LICENSE:=GPL-2.0
diff --git a/package/network/utils/iproute2/patches/001-lib-bridge-avoid-redefinition-of-in6_addr.patch b/package/network/utils/iproute2/patches/001-lib-bridge-avoid-redefinition-of-in6_addr.patch
new file mode 100644
index 0000000000..166f15ccf4
--- /dev/null
+++ b/package/network/utils/iproute2/patches/001-lib-bridge-avoid-redefinition-of-in6_addr.patch
@@ -0,0 +1,27 @@
+From 7119f3736f689ab396ca4193ac593938affd55fa Mon Sep 17 00:00:00 2001
+From: Yureka <yureka@cyberchaos.dev>
+Date: Sun, 12 Oct 2025 14:39:47 +0200
+Subject: lib: bridge: avoid redefinition of in6_addr
+
+On musl libc, which does not use the kernel definitions of in6_addr, including
+the libc headers after the kernel (UAPI) headers would cause a redefinition
+error. The opposite order avoids the redefinition.
+
+Fixes: 9e89d5b94d749f37525cd8778311e1c9f28f172a
+Signed-off-by: Yureka <yureka@cyberchaos.dev>
+---
+ lib/bridge.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/lib/bridge.c
++++ b/lib/bridge.c
+@@ -2,8 +2,8 @@
+
+ #include <net/if.h>
+
+-#include "bridge.h"
+ #include "utils.h"
++#include "bridge.h"
+
+ void bridge_print_vlan_flags(__u16 flags)
+ {
diff --git a/package/network/utils/iproute2/patches/115-add-config-xtlibdir.patch b/package/network/utils/iproute2/patches/115-add-config-xtlibdir.patch
index 38448e6cd6..d9f3069a95 100644
--- a/package/network/utils/iproute2/patches/115-add-config-xtlibdir.patch
+++ b/package/network/utils/iproute2/patches/115-add-config-xtlibdir.patch
@@ -1,6 +1,6 @@
--- a/tc/Makefile
+++ b/tc/Makefile
-@@ -107,6 +107,9 @@ CFLAGS += -DCONFIG_GACT -DCONFIG_GACT_PR
+@@ -108,6 +108,9 @@ CFLAGS += -DCONFIG_GACT -DCONFIG_GACT_PR
ifneq ($(IPT_LIB_DIR),)
CFLAGS += -DIPT_LIB_DIR=\"$(IPT_LIB_DIR)\"
endif
diff --git a/package/network/utils/iproute2/patches/170-ip_tiny.patch b/package/network/utils/iproute2/patches/170-ip_tiny.patch
index fb95550630..37c5f41a9e 100644
--- a/package/network/utils/iproute2/patches/170-ip_tiny.patch
+++ b/package/network/utils/iproute2/patches/170-ip_tiny.patch
@@ -105,4 +105,4 @@
+
UTILOBJ = utils.o utils_math.o rt_names.o ll_map.o ll_types.o ll_proto.o ll_addr.o \
inet_proto.o namespace.o json_writer.o json_print.o json_print_math.o \
- names.o color.o bpf_legacy.o bpf_glue.o exec.o fs.o cg_map.o ppp_proto.o
+ names.o color.o bpf_legacy.o bpf_glue.o exec.o fs.o cg_map.o \
diff --git a/package/network/utils/iproute2/patches/180-drop_FAILED_POLICY.patch b/package/network/utils/iproute2/patches/180-drop_FAILED_POLICY.patch
index 9ce7dd9a13..a7b56feabd 100644
--- a/package/network/utils/iproute2/patches/180-drop_FAILED_POLICY.patch
+++ b/package/network/utils/iproute2/patches/180-drop_FAILED_POLICY.patch
@@ -31,7 +31,7 @@ Subject: [PATCH] add support for dropping with FAILED_POLICY
if (!end || end == arg || *end || res > 255)
--- a/include/uapi/linux/rtnetlink.h
+++ b/include/uapi/linux/rtnetlink.h
-@@ -265,6 +265,7 @@ enum {
+@@ -273,6 +273,7 @@ enum {
RTN_THROW, /* Not in this table */
RTN_NAT, /* Translate this address */
RTN_XRESOLVE, /* Use external resolver */
diff --git a/package/network/utils/iproute2/patches/195-build_variant_ip_tc.patch b/package/network/utils/iproute2/patches/195-build_variant_ip_tc.patch
index 6ecf5568be..46a53d23e6 100644
--- a/package/network/utils/iproute2/patches/195-build_variant_ip_tc.patch
+++ b/package/network/utils/iproute2/patches/195-build_variant_ip_tc.patch
@@ -11,7 +11,7 @@
--- a/tc/Makefile
+++ b/tc/Makefile
-@@ -120,7 +120,7 @@ MODDESTDIR := $(DESTDIR)$(LIBDIR)/tc
+@@ -121,7 +121,7 @@ MODDESTDIR := $(DESTDIR)$(LIBDIR)/tc
$(QUIET_CC)$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -shared -fpic $< -o $@