diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-01 15:30:56 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-01 15:35:25 -0800 |
commit | 5348ba85a02ffe80a8af33a524b6610966760d3d (patch) | |
tree | 37e2fd7f990692508906cfcabc0b7d7500e087ef /net/ipv4/fib_frontend.c | |
parent | 3630b7c050d9c3564f143d595339fc06b888d6f3 (diff) | |
download | kernel_samsung_smdk4412-5348ba85a02ffe80a8af33a524b6610966760d3d.tar.gz kernel_samsung_smdk4412-5348ba85a02ffe80a8af33a524b6610966760d3d.tar.bz2 kernel_samsung_smdk4412-5348ba85a02ffe80a8af33a524b6610966760d3d.zip |
ipv4: Update some fib_hash centric interface names.
fib_hash_init() --> fib_trie_init()
fib_hash_table() --> fib_trie_table()
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_frontend.c')
-rw-r--r-- | net/ipv4/fib_frontend.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/ipv4/fib_frontend.c b/net/ipv4/fib_frontend.c index 930768ba49a..2a49c061b34 100644 --- a/net/ipv4/fib_frontend.c +++ b/net/ipv4/fib_frontend.c @@ -51,11 +51,11 @@ static int __net_init fib4_rules_init(struct net *net) { struct fib_table *local_table, *main_table; - local_table = fib_hash_table(RT_TABLE_LOCAL); + local_table = fib_trie_table(RT_TABLE_LOCAL); if (local_table == NULL) return -ENOMEM; - main_table = fib_hash_table(RT_TABLE_MAIN); + main_table = fib_trie_table(RT_TABLE_MAIN); if (main_table == NULL) goto fail; @@ -82,7 +82,7 @@ struct fib_table *fib_new_table(struct net *net, u32 id) if (tb) return tb; - tb = fib_hash_table(id); + tb = fib_trie_table(id); if (!tb) return NULL; h = id & (FIB_TABLE_HASHSZ - 1); @@ -1086,5 +1086,5 @@ void __init ip_fib_init(void) register_netdevice_notifier(&fib_netdev_notifier); register_inetaddr_notifier(&fib_inetaddr_notifier); - fib_hash_init(); + fib_trie_init(); } |