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>
This commit is contained in:
parent
fa0afcd109
commit
89aef8921b
3 changed files with 13 additions and 933 deletions
940
net/ipv4/route.c
940
net/ipv4/route.c
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue