]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitda52ec5fae53fc882eeb55a978e15a35e29dfe01
tree4ff3885262d0f05af367c119528780b5d8d172ff
parent1d7448e0a443353a576061aa52051676a412574d
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