From: Eric Dumazet Date: Thu, 28 Aug 2008 08:11:25 +0000 (-0700) Subject: ip: speedup /proc/net/rt_cache handling X-Git-Tag: v2.6.28-rc1~717^2~386 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a627266570605a98c5fda5b8234d9e92015e4d14;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed