net: fib_rules: Correctly set table field when table number exceeds 8 bits

[ Upstream commit 540e585a79 ]

In 709772e6e0, 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jethro Beekman 2020-02-12 16:43:41 +01:00 • committed by Greg Kroah-Hartman
commit bc7eac21e3