ipv6: replace dst_metric() with dst_mtu() in net/ipv6/route.c.

This patch replaces dst_metric() with dst_mtu() in net/ipv6/route.c.

Signed-off-by: Rami Rosen <ramirose@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by Rami Rosen and committed by David S. Miller 1ca615fb 6d273f8d

+1 -1
+1 -1
net/ipv6/route.c
··· 1249 1249 1250 1250 if (dst_metric(&rt->u.dst, RTAX_HOPLIMIT) == 0) 1251 1251 rt->u.dst.metrics[RTAX_HOPLIMIT-1] = -1; 1252 - if (!dst_metric(&rt->u.dst, RTAX_MTU)) 1252 + if (!dst_mtu(&rt->u.dst)) 1253 1253 rt->u.dst.metrics[RTAX_MTU-1] = ipv6_get_mtu(dev); 1254 1254 if (!dst_metric(&rt->u.dst, RTAX_ADVMSS)) 1255 1255 rt->u.dst.metrics[RTAX_ADVMSS-1] = ipv6_advmss(net, dst_mtu(&rt->u.dst));