ipv4: Delete routing cache.
Subsystems (3)
David Miller
maintainerPATCH v6 1/3 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 | 910 +--------------------------------------------- 3 files changed, 20 insertions(+), 896 deletions(-)
include/net/route.h +0 -1
@@ -114,7 +114,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 *,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
@@ -1022,11 +1022,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 +20 -890
1,105 lines not on this page · raw message
Signature · 1 line
1.7.5.1