[DECNET]: Increase number of possible routing tables to 2^32
commitabcab268303c22d24fc89fedd35d82271d20f5da
authorPatrick McHardy <kaber@trash.net>
Fri, 11 Aug 2006 06:11:47 +0000 (10 23:11 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 21:54:28 +0000 (22 14:54 -0700)
tree2add5b99164734899d92ad37d89b1ded91c219bf
parent1b43af5480c351dbcb2eef478bafe179cbeb6e83
[DECNET]: 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>
include/net/dn_fib.h
net/decnet/dn_fib.c
net/decnet/dn_rules.c
net/decnet/dn_table.c