]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - net/ipv4/fib_rules.c
ipv4: fib table algorithm performance improvement
[linux-2.6.git] / net / ipv4 / fib_rules.c
index 92d9d97ec5e388572c0273b3a9754ac0857b97ab..835262c2b8673fbe1f89167173abaf3685431b3f 100644 (file)
@@ -94,7 +94,7 @@ static int fib4_rule_action(struct fib_rule *rule, struct flowi *flp,
        if ((tbl = fib_get_table(rule->fr_net, rule->table)) == NULL)
                goto errout;
 
-       err = tbl->tb_lookup(tbl, flp, (struct fib_result *) arg->result);
+       err = fib_table_lookup(tbl, flp, (struct fib_result *) arg->result);
        if (err > 0)
                err = -EAGAIN;
 errout: