diff options
-rw-r--r-- | include/net/route.h | 1 | ||||
-rw-r--r-- | net/ipv4/route.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/include/net/route.h b/include/net/route.h index f7ce6259f86f..59b0b19205a2 100644 --- a/include/net/route.h +++ b/include/net/route.h | |||
@@ -109,7 +109,6 @@ struct in_device; | |||
109 | extern int ip_rt_init(void); | 109 | extern int ip_rt_init(void); |
110 | extern void ip_rt_redirect(__be32 old_gw, __be32 dst, __be32 new_gw, | 110 | extern void ip_rt_redirect(__be32 old_gw, __be32 dst, __be32 new_gw, |
111 | __be32 src, struct net_device *dev); | 111 | __be32 src, struct net_device *dev); |
112 | extern void ip_rt_advice(struct rtable **rp, int advice); | ||
113 | extern void rt_cache_flush(int how); | 112 | extern void rt_cache_flush(int how); |
114 | extern int __ip_route_output_key(struct rtable **, const struct flowi *flp); | 113 | extern int __ip_route_output_key(struct rtable **, const struct flowi *flp); |
115 | extern int ip_route_output_key(struct rtable **, struct flowi *flp); | 114 | extern int ip_route_output_key(struct rtable **, struct flowi *flp); |
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 79c4b9360a12..d2bc6148a737 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c | |||
@@ -1161,7 +1161,7 @@ static struct dst_entry *ipv4_negative_advice(struct dst_entry *dst) | |||
1161 | unsigned hash = rt_hash(rt->fl.fl4_dst, rt->fl.fl4_src, | 1161 | unsigned hash = rt_hash(rt->fl.fl4_dst, rt->fl.fl4_src, |
1162 | rt->fl.oif); | 1162 | rt->fl.oif); |
1163 | #if RT_CACHE_DEBUG >= 1 | 1163 | #if RT_CACHE_DEBUG >= 1 |
1164 | printk(KERN_DEBUG "ip_rt_advice: redirect to " | 1164 | printk(KERN_DEBUG "ipv4_negative_advice: redirect to " |
1165 | "%u.%u.%u.%u/%02x dropped\n", | 1165 | "%u.%u.%u.%u/%02x dropped\n", |
1166 | NIPQUAD(rt->rt_dst), rt->fl.fl4_tos); | 1166 | NIPQUAD(rt->rt_dst), rt->fl.fl4_tos); |
1167 | #endif | 1167 | #endif |