summaryrefslogtreecommitdiff
path: root/include/net/ip6_route.h
diff options
context:
space:
mode:
authorWei Wang <weiwan@google.com>2017-06-17 20:42:37 +0300
committerDavid S. Miller <davem@davemloft.net>2017-06-18 05:54:00 +0300
commitdb916649b5dd0fa2bddeb9427dab513b41e1e984 (patch)
tree568c3f3e38d851cf39412f0d86fb778943569f84 /include/net/ip6_route.h
parent587fea74113463b74e0d2994caf9e5f8045c28af (diff)
downloadlinux-db916649b5dd0fa2bddeb9427dab513b41e1e984.tar.xz
ipv6: get rid of icmp6 dst garbage collector
icmp6 dst route is currently ref counted during creation and will be freed by user during its call of dst_release(). So no need of a garbage collector for it. Remove all icmp6 dst garbage collector related code. Signed-off-by: Wei Wang <weiwan@google.com> Acked-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip6_route.h')
-rw-r--r--include/net/ip6_route.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/ip6_route.h b/include/net/ip6_route.h
index f3da9dd2a8db..0fbf73dd531a 100644
--- a/include/net/ip6_route.h
+++ b/include/net/ip6_route.h
@@ -116,7 +116,6 @@ struct rt6_info *rt6_lookup(struct net *net, const struct in6_addr *daddr,
const struct in6_addr *saddr, int oif, int flags);
struct dst_entry *icmp6_dst_alloc(struct net_device *dev, struct flowi6 *fl6);
-int icmp6_dst_gc(void);
void fib6_force_start_gc(struct net *net);