netns: selective flush of rt_cache
authorDenis V. Lunev <den@openvz.org>
Sun, 6 Jul 2008 02:06:12 +0000 (19:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 6 Jul 2008 02:06:12 +0000 (19:06 -0700)
commit32cb5b4e035e3d7b52f1e9de87920645a00e5234
tree54c26b95e4083e9ed6bb4593a2f940829779979b
parente84f84f276473dcc673f360e8ff3203148bdf0e2
netns: selective flush of rt_cache

dst cache is marked as expired on the per/namespace basis by previous
path. Right now we have to implement selective cache shrinking. This
procedure has been ported from older OpenVz codebase.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c