aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_hash.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-01-31 19:10:03 -0500
committerDavid S. Miller <davem@davemloft.net>2011-01-31 19:10:03 -0500
commit5b4704419cbd0b7597a91c19f9e8e8b17c1af071 (patch)
tree94ee46905ba2a142bdf910fb26f7450c41ebc46a /net/ipv4/fib_hash.c
parenta5e3c2aae23a3719105c1ae662c67ef282f213db (diff)
ipv4: Remember FIB alias list head and table in lookup results.
This will be used later to implement fib_select_default() in a completely generic manner, instead of the current situation where the default route is re-looked up in the TRIE/HASH table and then the available aliases are analyzed. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_hash.c')
-rw-r--r--net/ipv4/fib_hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/fib_hash.c b/net/ipv4/fib_hash.c
index b3acb0417b21..0a88866ad1e5 100644
--- a/net/ipv4/fib_hash.c
+++ b/net/ipv4/fib_hash.c
@@ -288,7 +288,7 @@ int fib_table_lookup(struct fib_table *tb,
288 if (f->fn_key != k) 288 if (f->fn_key != k)
289 continue; 289 continue;
290 290
291 err = fib_semantic_match(&f->fn_alias, 291 err = fib_semantic_match(tb, &f->fn_alias,
292 flp, res, 292 flp, res,
293 fz->fz_order, fib_flags); 293 fz->fz_order, fib_flags);
294 if (err <= 0) 294 if (err <= 0)