diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-10-13 06:56:11 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-16 11:13:22 -0700 |
commit | 874ffa8f72444d6253d2669fed304875c128f86b (patch) | |
tree | 1b00dc1984fa2984020c06fbc1e48b8c00366f02 /net/ipv4/fib_frontend.c | |
parent | a0a4a85a15df6335e3d11f83b2ac06ebebea313f (diff) | |
download | linux-3.10-874ffa8f72444d6253d2669fed304875c128f86b.tar.gz linux-3.10-874ffa8f72444d6253d2669fed304875c128f86b.tar.bz2 linux-3.10-874ffa8f72444d6253d2669fed304875c128f86b.zip |
fib_trie: use fls() instead of open coded loop
fib_table_lookup() might use fls() to speedup an open coded loop.
Noticed while doing a profile analysis.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_frontend.c')
0 files changed, 0 insertions, 0 deletions