You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/package
Jo-Philipp Wich 8badcba229 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>
8 years ago
..
base-files base-files: make default_prerm work offline 8 years ago
boot uboot-mvebu: reset the 88E1512 PHY to make the wan port work 8 years ago
devel perf: drop sched_getcpu wrapper 8 years ago
firmware linux-firmware: update to current Git head 8 years ago
kernel mac80211: backport brcmfmac changes from 2016-09-26 8 years ago
libs openssl: backport build fix when hardware support is used 8 years ago
network 6in4: fix invalid local variable declaration (FS#188) 8 years ago
system fstools: mark as nonshared and add missing PKG_CONFIG_DEPENDS 8 years ago
utils iproute: properly support high routing table IDs 8 years ago
Makefile image: fix CONFIG_CLEAN_IPKG with CONFIG_TARGET_PER_DEVICE_ROOTFS 8 years ago