[NET]: Use u32 for routing table IDs
Use u32 for routing table IDs in net/ipv4 and net/decnet in preparation of support for a larger number of routing tables. net/ipv6 already uses u32 everywhere and needs no further changes. No functional changes are made by this patch. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
d924424aae
commit
2dfe55b47e
@@ -169,7 +169,7 @@ static int fib4_rule_match(struct fib_rule *rule, struct flowi *fl, int flags)
|
||||
|
||||
static struct fib_table *fib_empty_table(void)
|
||||
{
|
||||
int id;
|
||||
u32 id;
|
||||
|
||||
for (id = 1; id <= RT_TABLE_MAX; id++)
|
||||
if (fib_tables[id] == NULL)
|
||||
|
Reference in New Issue
Block a user