openwrtv3/package/utils/busybox/patches
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>
2016-09-27 16:23:06 +02:00
..
001-resource_h_include.patch busybox: update to version 1.25.0 2016-09-20 22:37:02 +02:00
100-trylink_bash.patch busybox: update to 1.22.1 2014-05-25 17:42:09 +00:00
101-gen_build_files_bash.patch busybox: update to 1.22.1 2014-05-25 17:42:09 +00:00
102-trylink_mktemp_fix.patch busybox: fix non-portable invocation of mktemp 2015-10-30 15:18:22 +00:00
110-no_static_libgcc.patch busybox: update to 1.22.1 2014-05-25 17:42:09 +00:00
120-remove_uclibc_rpc_check.patch busybox: update to version 1.25.0 2016-09-20 22:37:02 +02:00
130-mconf_missing_sigwinch.patch busybox: update to 1.22.1 2014-05-25 17:42:09 +00:00
200-udhcpc_reduce_msgs.patch busybox: update to version 1.25.0 2016-09-20 22:37:02 +02:00
201-udhcpc_changed_ifindex.patch busybox: update to version 1.25.0 2016-09-20 22:37:02 +02:00
203-udhcpc_renew_no_deconfig.patch busybox: update to version 1.25.0 2016-09-20 22:37:02 +02:00
210-add_netmsg_util.patch busybox: update to version 1.25.0 2016-09-20 22:37:02 +02:00
220-add_lock_util.patch busybox: update to version 1.25.0 2016-09-20 22:37:02 +02:00
240-telnetd_intr.patch busybox: update to version 1.25.0 2016-09-20 22:37:02 +02:00
250-date-k-flag.patch busybox: update to version 1.25.0 2016-09-20 22:37:02 +02:00
270-libbb_make_unicode_printable.patch busybox: update to version 1.24.1 2015-10-30 15:18:17 +00:00
301-ip-link-fix-netlink-msg-size.patch busybox: fix ip applet and netlink behavior 2015-09-09 10:38:16 +00:00
302-netlink-alignment.patch busybox: libnetlink: fix alignment of netlink messages 2016-09-16 23:00:01 +02:00
303-ip-route-fix-high-table-ids.patch iproute: properly support high routing table IDs 2016-09-27 16:23:06 +02:00