diff options
author | Wei Wang <weiwan@google.com> | 2017-06-17 10:42:37 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-17 22:54:00 -0400 |
commit | db916649b5dd0fa2bddeb9427dab513b41e1e984 (patch) | |
tree | 568c3f3e38d851cf39412f0d86fb778943569f84 /include/net | |
parent | 587fea74113463b74e0d2994caf9e5f8045c28af (diff) | |
download | linux-riscv-db916649b5dd0fa2bddeb9427dab513b41e1e984.tar.gz linux-riscv-db916649b5dd0fa2bddeb9427dab513b41e1e984.tar.bz2 linux-riscv-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')
-rw-r--r-- | include/net/ip6_route.h | 1 |
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); |