ipv4: Delete routing cache.
Subsystems (3)
David Miller
maintainerRFC PATCH v4 1/8 ipv4: Delete routing cache.
Signed-off-by David S. Miller <[email protected]>
--- include/net/route.h | 1 - net/ipv4/fib_frontend.c | 5 - net/ipv4/route.c | 908 ++--------------------------------------------- 3 files changed, 23 insertions(+), 891 deletions(-)
include/net/route.h +0 -1
@@ -121,7 +121,6 @@ extern int ip_rt_init(void);extern void ip_rt_redirect (__be32 old_gw,__be32 dst,__be32 new_gw,__be32 src,struct net_device *dev);extern void rt_cache_flush (struct net *net,int how); -extern void rt_cache_flush_batch (struct net *net);extern struct rtable *__ip_route_output_key (struct net *,const struct flowi4 *flp);extern struct rtable *ip_route_output_flow (struct net *,struct flowi4 *flp,struct sock *sk);
net/ipv4/fib_frontend.c +0 -5
@@ -942,11 +942,6 @@ static int fib_netdev_event(struct notifier_block *this, unsigned long event, vort_cache_flush (dev_net (dev),0 );break ;case NETDEV_UNREGISTER_BATCH : -/* The batch unregister is only called on the first -* device in the list of devices being unregistered. -* Therefore we should not pass dev_net(dev) in here. -*/ -rt_cache_flush_batch (NULL );break ; }return NOTIFY_DONE ;
net/ipv4/route.c +23 -885
1,098 lines not on this page · raw message
Signature · 1 line
1.7.4.1