commit | 6b75d0908185bf853b188afa6f269426f6554c5b | [log] [tgz] |
---|---|---|
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | Mon Mar 10 06:00:30 2008 -0400 |
committer | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | Tue Mar 25 10:24:00 2008 +0900 |
tree | 85f28296077f3d873bbda249dc0eafcc911164fd | |
parent | 4725474584d6aa2f07b3d47442dfbc4f6544f65e [diff] |
[IPV6]: Optimize hop-limit determination. Last part of hop-limit determination is always: hoplimit = dst_metric(dst, RTAX_HOPLIMIT); if (hoplimit < 0) hoplimit = ipv6_get_hoplimit(dst->dev). Let's consolidate it as ip6_dst_hoplimit(dst). Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>