[IPV4]: Increase number of possible routing tables to 2^32
Increase the number of possible routing tables to 2^32 by replacing the fixed sized array of pointers by a hash table and replacing iterations over all possible table IDs by hash table walking. Signed-off-by:Patrick McHardy <kaber@trash.net> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/ip_fib.h 5 additions, 20 deletionsinclude/net/ip_fib.h
- net/ipv4/fib_frontend.c 68 additions, 34 deletionsnet/ipv4/fib_frontend.c
- net/ipv4/fib_hash.c 13 additions, 13 deletionsnet/ipv4/fib_hash.c
- net/ipv4/fib_rules.c 2 additions, 2 deletionsnet/ipv4/fib_rules.c
- net/ipv4/fib_trie.c 13 additions, 13 deletionsnet/ipv4/fib_trie.c
Loading
Please register or sign in to comment