mirror of https://gitee.com/openkylin/linux.git
ipv6: remove obsolete comments in route.c
Signed-off-by: Li RongQing <roy.qing.li@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3629a6cebc
commit
c75ea26040
|
@ -1371,12 +1371,6 @@ static int ip6_dst_gc(struct dst_ops *ops)
|
||||||
return entries > rt_max_size;
|
return entries > rt_max_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Clean host part of a prefix. Not necessary in radix tree,
|
|
||||||
but results in cleaner routing tables.
|
|
||||||
|
|
||||||
Remove it only when all the things will work!
|
|
||||||
*/
|
|
||||||
|
|
||||||
int ip6_dst_hoplimit(struct dst_entry *dst)
|
int ip6_dst_hoplimit(struct dst_entry *dst)
|
||||||
{
|
{
|
||||||
int hoplimit = dst_metric_raw(dst, RTAX_HOPLIMIT);
|
int hoplimit = dst_metric_raw(dst, RTAX_HOPLIMIT);
|
||||||
|
|
Loading…
Reference in New Issue