[IPV6]: Optimize hop-limit determination.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Mon, 10 Mar 2008 10:00:30 +0000 (06:00 -0400)
committerYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Tue, 25 Mar 2008 01:24:00 +0000 (10:24 +0900)
commit6b75d0908185bf853b188afa6f269426f6554c5b
tree85f28296077f3d873bbda249dc0eafcc911164fd
parent4725474584d6aa2f07b3d47442dfbc4f6544f65e
[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>
include/net/addrconf.h
include/net/ip6_route.h
net/ipv6/icmp.c
net/ipv6/ip6_output.c
net/ipv6/ipv6_sockglue.c
net/ipv6/raw.c
net/ipv6/route.c
net/ipv6/udp.c