diff options
author | David S. Miller <davem@davemloft.net> | 2010-12-12 21:35:57 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-12 21:35:57 -0800 |
commit | 5170ae824ddf1988a63fb12cbedcff817634c444 (patch) | |
tree | 9f1619ca6edd0e8078bfcd9d6123e119b935e43b /net/ipv4/ip_gre.c | |
parent | abbf46ae0e4954584eac599bec73502c1c805e9e (diff) | |
download | linux-rpi3-5170ae824ddf1988a63fb12cbedcff817634c444.tar.gz linux-rpi3-5170ae824ddf1988a63fb12cbedcff817634c444.tar.bz2 linux-rpi3-5170ae824ddf1988a63fb12cbedcff817634c444.zip |
net: Abstract RTAX_HOPLIMIT metric accesses behind helper.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_gre.c')
-rw-r--r-- | net/ipv4/ip_gre.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ip_gre.c b/net/ipv4/ip_gre.c index ff4e7a4e33ed..46eb3dc37ec6 100644 --- a/net/ipv4/ip_gre.c +++ b/net/ipv4/ip_gre.c @@ -890,7 +890,7 @@ static netdev_tx_t ipgre_tunnel_xmit(struct sk_buff *skb, struct net_device *dev iph->ttl = ((struct ipv6hdr *)old_iph)->hop_limit; #endif else - iph->ttl = dst_metric(&rt->dst, RTAX_HOPLIMIT); + iph->ttl = dst_metric_hoplimit(&rt->dst); } ((__be16 *)(iph + 1))[0] = tunnel->parms.o_flags; |