summaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_trie.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-02-01 15:30:56 -0800
committerDavid S. Miller <davem@davemloft.net>2011-02-01 15:35:25 -0800
commit5348ba85a02ffe80a8af33a524b6610966760d3d (patch)
tree37e2fd7f990692508906cfcabc0b7d7500e087ef /net/ipv4/fib_trie.c
parent3630b7c050d9c3564f143d595339fc06b888d6f3 (diff)
downloadop-kernel-dev-5348ba85a02ffe80a8af33a524b6610966760d3d.zip
op-kernel-dev-5348ba85a02ffe80a8af33a524b6610966760d3d.tar.gz
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_trie.c')
-rw-r--r--net/ipv4/fib_trie.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/ipv4/fib_trie.c b/net/ipv4/fib_trie.c
index 16d589c..73cb984 100644
--- a/net/ipv4/fib_trie.c
+++ b/net/ipv4/fib_trie.c
@@ -1916,7 +1916,7 @@ int fib_table_dump(struct fib_table *tb, struct sk_buff *skb,
return skb->len;
}
-void __init fib_hash_init(void)
+void __init fib_trie_init(void)
{
fn_alias_kmem = kmem_cache_create("ip_fib_alias",
sizeof(struct fib_alias),
@@ -1929,8 +1929,7 @@ void __init fib_hash_init(void)
}
-/* Fix more generic FIB names for init later */
-struct fib_table *fib_hash_table(u32 id)
+struct fib_table *fib_trie_table(u32 id)
{
struct fib_table *tb;
struct trie *t;
OpenPOWER on IntegriCloud