8badcba229
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> |
||
---|---|---|
.. | ||
001-resource_h_include.patch | ||
100-trylink_bash.patch | ||
101-gen_build_files_bash.patch | ||
102-trylink_mktemp_fix.patch | ||
110-no_static_libgcc.patch | ||
120-remove_uclibc_rpc_check.patch | ||
130-mconf_missing_sigwinch.patch | ||
200-udhcpc_reduce_msgs.patch | ||
201-udhcpc_changed_ifindex.patch | ||
203-udhcpc_renew_no_deconfig.patch | ||
210-add_netmsg_util.patch | ||
220-add_lock_util.patch | ||
240-telnetd_intr.patch | ||
250-date-k-flag.patch | ||
270-libbb_make_unicode_printable.patch | ||
301-ip-link-fix-netlink-msg-size.patch | ||
302-netlink-alignment.patch | ||
303-ip-route-fix-high-table-ids.patch |