Merge branch 'for-2638/i2c/iop' into for-linus/i2c-2638
[cascardo/linux.git] / net / ipv4 / xfrm4_mode_tunnel.c
index 6f36841..534972e 100644 (file)
@@ -56,7 +56,7 @@ static int xfrm4_mode_tunnel_output(struct xfrm_state *x, struct sk_buff *skb)
                0 : (XFRM_MODE_SKB_CB(skb)->frag_off & htons(IP_DF));
        ip_select_ident(top_iph, dst->child, NULL);
 
-       top_iph->ttl = dst_metric(dst->child, RTAX_HOPLIMIT);
+       top_iph->ttl = ip4_dst_hoplimit(dst->child);
 
        top_iph->saddr = x->props.saddr.a4;
        top_iph->daddr = x->id.daddr.a4;