diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2008-08-28 04:11:25 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-28 04:11:25 -0400 |
commit | a627266570605a98c5fda5b8234d9e92015e4d14 (patch) | |
tree | 5af86658a09241d08694558f976e93d29e526762 /include/net/nexthop.h | |
parent | 6be547a61d6220199826070cda792297c3d15994 (diff) |
ip: speedup /proc/net/rt_cache handling
When scanning route cache hash table, we can avoid taking locks for
empty buckets. Both /proc/net/rt_cache and NETLINK RTM_GETROUTE
interface are taken into account.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/nexthop.h')
0 files changed, 0 insertions, 0 deletions