Skip to content
Commit f4530fa5 authored by David S. Miller's avatar David S. Miller
Browse files

ipv4: Avoid overhead when no custom FIB rules are installed.



If the user hasn't actually installed any custom rules, or fiddled
with the default ones, don't go through the whole FIB rules layer.

It's just pure overhead.

Instead do what we do with CONFIG_IP_MULTIPLE_TABLES disabled, check
the individual tables by hand, one by one.

Also, move fib_num_tclassid_users into the ipv4 network namespace.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 700db99d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment