net: fib_rules: Correctly set table field when table number exceeds 8 bits
authorJethro Beekman <jethro@fortanix.com>
Wed, 12 Feb 2020 15:43:41 +0000 (16:43 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Feb 2020 02:38:24 +0000 (18:38 -0800)
commit540e585a79e9d643ede077b73bcc7aa2d7b4d919
treec471d0112d907bd455cce319df73244c5c7de209
parent0d4597c8c5abdeeaf50774066c16683f30184dc8
net: fib_rules: Correctly set table field when table number exceeds 8 bits

In 709772e6e06564ed94ba740de70185ac3d792773, RT_TABLE_COMPAT was added to
allow legacy software to deal with routing table numbers >= 256, but the
same change to FIB rule queries was overlooked.

Signed-off-by: Jethro Beekman <jethro@fortanix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/fib_rules.c