ipv4: Delete routing cache.
authorDavid S. Miller <davem@davemloft.net>
Tue, 17 Jul 2012 18:00:09 +0000 (11:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Jul 2012 20:30:27 +0000 (13:30 -0700)
commit89aef8921bfbac22f00e04f8450f6e447db13e42
tree4ff3885262d0f05af367c119528780b5d8d172ff
parentfa0afcd10951afad2022dda09777d2bf70cdab3d
ipv4: Delete routing cache.

The ipv4 routing cache is non-deterministic, performance wise, and is
subject to reasonably easy to launch denial of service attacks.

The routing cache works great for well behaved traffic, and the world
was a much friendlier place when the tradeoffs that led to the routing
cache's design were considered.

What it boils down to is that the performance of the routing cache is
a product of the traffic patterns seen by a system rather than being a
product of the contents of the routing tables.  The former of which is
controllable by external entitites.

Even for "well behaved" legitimate traffic, high volume sites can see
hit rates in the routing cache of only ~%10.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/route.h
net/ipv4/fib_frontend.c
net/ipv4/route.c