| Submitter | Carl Baldwin |
|---|---|
| Date | Feb. 5, 2013, 12:59 a.m. |
| Message ID | <CALiLy7oUyxZ=DbXcZvHg141eQ3-WYJrsoRBwaZDVxDfsUufctQ@mail.gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/218128/ |
| State | Not Applicable |
| Delegated to: | David Miller |
| Headers | show |
Comments
Patch
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);