aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/busybox/Makefile
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2016-09-26 18:00:37 +0200
committerJo-Philipp Wich <jo@mein.io>2016-09-27 16:23:06 +0200
commit8badcba229b0ba3d469934f4315b736b0c712fbd (patch)
treec1a7658dba588d428abfcbbfd8caf3c319c5fde3 /package/utils/busybox/Makefile
parent864b2d113ad0815c2444575014e7cf51498944db (diff)
downloadupstream-8badcba229b0ba3d469934f4315b736b0c712fbd.tar.gz
upstream-8badcba229b0ba3d469934f4315b736b0c712fbd.tar.bz2
upstream-8badcba229b0ba3d469934f4315b736b0c712fbd.zip
iproute: properly support high routing table IDs
The Linux kernel uses two distinct fields to denote the routing table ID in use by network routes; the 8 bit `rtm_table` member of `struct rtmsg` and the 32 bit `RTA_TABLE` netlink attribute. If a routing table ID is larger than 255, the `RT_TABLE` attribute must be used and the `rtm_table` field has to be set to the special `RT_TABLE_UNSPEC` value. This commit adds a patch which... - switches the *_n2a() and *_a2n() functions of rt_names.c to use dynamically sized, name-sorted arrays instead of fixed arrays limited to 1024 slots in order to support IDs up to 65535 - adds proper handling of high table IDs to iprule.c and iproute.c when adding, removing and dumping ip rules and network routes After this change, the Busybox ip applet fully supports IP rules with high ID numbers, using the same logic as the full iproute2. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'package/utils/busybox/Makefile')
-rw-r--r--package/utils/busybox/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/utils/busybox/Makefile b/package/utils/busybox/Makefile
index 2fef149545..2d18dffe32 100644
--- a/package/utils/busybox/Makefile
+++ b/package/utils/busybox/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=busybox
PKG_VERSION:=1.25.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_FLAGS:=essential
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2