HomeFreeBSD

netlink/route: provide pre-2.6.19 Linux compat shim

Description

netlink/route: provide pre-2.6.19 Linux compat shim

The old Linux used 8-bit rtm_table field of the RTM_NEWROUTE message to
specify routing table id. Modern netlink uses RTA_TABLE 32-bit attribute.

Unfortunately, there is modern software (namely bird) that would prefer
the old API as long as the routing table id fits into 8-bit.

PR: 279662
(cherry picked from commit f34aca55adef1e28cd68b2e6705a0cac03f0238e)

Details

Provenance
glebiusAuthored on Thu, Jun 20, 11:10 PM
Parents
rGae979c76443b: net80211: Correct a comment
Branches
Unknown
Tags
Unknown