|
@@ -2761,6 +2761,7 @@ static int rt6_mtu_change_route(struct rt6_info *rt, void *p_arg)
|
|
PMTU discouvery.
|
|
PMTU discouvery.
|
|
*/
|
|
*/
|
|
if (rt->dst.dev == arg->dev &&
|
|
if (rt->dst.dev == arg->dev &&
|
|
|
|
+ dst_metric_raw(&rt->dst, RTAX_MTU) &&
|
|
!dst_metric_locked(&rt->dst, RTAX_MTU)) {
|
|
!dst_metric_locked(&rt->dst, RTAX_MTU)) {
|
|
if (rt->rt6i_flags & RTF_CACHE) {
|
|
if (rt->rt6i_flags & RTF_CACHE) {
|
|
/* For RTF_CACHE with rt6i_pmtu == 0
|
|
/* For RTF_CACHE with rt6i_pmtu == 0
|