Skip to content
Snippets Groups Projects
Commit 874ffa8f authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

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: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a0a4a85a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment