aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_trie.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-02-01 18:30:56 -0500
committerDavid S. Miller <davem@davemloft.net>2011-02-01 18:35:25 -0500
commit5348ba85a02ffe80a8af33a524b6610966760d3d (patch)
tree37e2fd7f990692508906cfcabc0b7d7500e087ef /net/ipv4/fib_trie.c
parent3630b7c050d9c3564f143d595339fc06b888d6f3 (diff)
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 16d589c70a92..73cb98475ce6 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,
1916 return skb->len; 1916 return skb->len;
1917} 1917}
1918 1918
1919void __init fib_hash_init(void) 1919void __init fib_trie_init(void)
1920{ 1920{
1921 fn_alias_kmem = kmem_cache_create("ip_fib_alias", 1921 fn_alias_kmem = kmem_cache_create("ip_fib_alias",
1922 sizeof(struct fib_alias), 1922 sizeof(struct fib_alias),
@@ -1929,8 +1929,7 @@ void __init fib_hash_init(void)
1929} 1929}
1930 1930
1931 1931
1932/* Fix more generic FIB names for init later */ 1932struct fib_table *fib_trie_table(u32 id)
1933struct fib_table *fib_hash_table(u32 id)
1934{ 1933{
1935 struct fib_table *tb; 1934 struct fib_table *tb;
1936 struct trie *t; 1935 struct trie *t;