diff options
author | David S. Miller <davem@davemloft.net> | 2012-07-06 07:13:13 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-06 07:13:13 +0200 |
commit | f4530fa574df4d833506c53697ed1daa0d390bf4 (patch) | |
tree | 2a19ff4c8410d5aee18a78cddaeb765ed9aa95d6 /net/ipv6/syncookies.c | |
parent | ipoib: Need to do dst_neigh_lookup_skb() outside of priv->lock. (diff) | |
download | linux-f4530fa574df4d833506c53697ed1daa0d390bf4.tar.xz linux-f4530fa574df4d833506c53697ed1daa0d390bf4.zip |
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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/syncookies.c')
0 files changed, 0 insertions, 0 deletions