aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ip6_route.h
diff options
context:
space:
mode:
authorWei Wang <weiwan@google.com>2017-06-17 10:42:37 -0700
committerDavid S. Miller <davem@davemloft.net>2017-06-17 22:54:00 -0400
commitdb916649b5dd0fa2bddeb9427dab513b41e1e984 (patch)
tree568c3f3e38d851cf39412f0d86fb778943569f84 /include/net/ip6_route.h
parentipv6: mark DST_NOGC and remove the operation of dst_free() (diff)
downloadlinux-dev-db916649b5dd0fa2bddeb9427dab513b41e1e984.tar.xz
linux-dev-db916649b5dd0fa2bddeb9427dab513b41e1e984.zip
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);