Message ID | CALiLy7oUyxZ=DbXcZvHg141eQ3-WYJrsoRBwaZDVxDfsUufctQ@mail.gmail.com |
---|---|
State | Not Applicable, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 94cdbc5..6fd8af2 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -1760,6 +1760,9 @@ static void ip_rt_update_pmtu(struct dst_entry *dst, u32 mtu) struct rtable *rt = (struct rtable *) dst; struct inet_peer *peer; + if (dst_metric_locked(dst, RTAX_MTU)) + return; + dst_confirm(dst);