diff --git a/net/ipv4/route.c b/net/ipv4/route.c index fd9ecb52c66bf8815c09e678c452017e9a7e2122..8c8c748ebb2804654bbf8f1b2d152745ee7888a3 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -956,7 +956,7 @@ static void ip_rt_update_pmtu(struct dst_entry *dst, struct sock *sk, dst->obsolete = DST_OBSOLETE_KILL; } else { rt->rt_pmtu = mtu; - dst_set_expires(&rt->dst, ip_rt_mtu_expires); + rt->dst.expires = max(1UL, jiffies + ip_rt_mtu_expires); } }