diff options
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r-- | net/ipv4/route.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 90b5a37555ab..770f70427f0b 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c | |||
@@ -1821,8 +1821,6 @@ static void rt_set_nexthop(struct rtable *rt, struct fib_result *res, u32 itag) | |||
1821 | } else | 1821 | } else |
1822 | dst_metric_set(dst, RTAX_MTU, dst->dev->mtu); | 1822 | dst_metric_set(dst, RTAX_MTU, dst->dev->mtu); |
1823 | 1823 | ||
1824 | if (dst_metric_raw(dst, RTAX_HOPLIMIT) == 0) | ||
1825 | dst_metric_set(dst, RTAX_HOPLIMIT, sysctl_ip_default_ttl); | ||
1826 | if (dst_mtu(dst) > IP_MAX_MTU) | 1824 | if (dst_mtu(dst) > IP_MAX_MTU) |
1827 | dst_metric_set(dst, RTAX_MTU, IP_MAX_MTU); | 1825 | dst_metric_set(dst, RTAX_MTU, IP_MAX_MTU); |
1828 | if (dst_metric(dst, RTAX_ADVMSS) == 0) | 1826 | if (dst_metric(dst, RTAX_ADVMSS) == 0) |