Commit 1ca615fb816ba85dc765209a9b58ab82cc99bce0
Committed by
David S. Miller
1 parent
6d273f8d01
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
net/ipv6/route.c
... | ... | @@ -1249,7 +1249,7 @@ |
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)); |