/* delay < 0 : invalidate cache (fast : entries will be deleted later) delay >= 0 : invalidate & flush cache (can be long)  */
void rt_cache_flush(struct net *net, int delay)
/* delay < 0 : invalidate cache (fast : entries will be deleted later) delay >= 0 : invalidate & flush cache (can be long)  */
void rt_cache_flush(struct net *net, int delay)
{
	rt_cache_invalidate(net);
	if (delay >= 0)
		rt_do_flush(!in_softirq());
}