aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/route.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/route.c')
-rw-r--r--net/ipv6/route.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index cf6fdeabb6f2..053a92ebf2d5 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -870,7 +870,7 @@ struct dst_entry * ip6_route_output(struct net *net, struct sock *sk,
870 870
871EXPORT_SYMBOL(ip6_route_output); 871EXPORT_SYMBOL(ip6_route_output);
872 872
873struct dst_entry *ip6_dst_blackhole(struct net *net, struct dst_entry *dst_orig) 873struct dst_entry *ip6_blackhole_route(struct net *net, struct dst_entry *dst_orig)
874{ 874{
875 struct rt6_info *rt = dst_alloc(&ip6_dst_blackhole_ops, 1); 875 struct rt6_info *rt = dst_alloc(&ip6_dst_blackhole_ops, 1);
876 struct rt6_info *ort = (struct rt6_info *) dst_orig; 876 struct rt6_info *ort = (struct rt6_info *) dst_orig;
@@ -907,7 +907,6 @@ struct dst_entry *ip6_dst_blackhole(struct net *net, struct dst_entry *dst_orig)
907 dst_release(dst_orig); 907 dst_release(dst_orig);
908 return new ? new : ERR_PTR(-ENOMEM); 908 return new ? new : ERR_PTR(-ENOMEM);
909} 909}
910EXPORT_SYMBOL_GPL(ip6_dst_blackhole);
911 910
912/* 911/*
913 * Destination cache support functions 912 * Destination cache support functions