On 1/25/18 11:03 AM, Nicolas Dichtel wrote:
> diff --git a/include/net/dst.h b/include/net/dst.h
> index b091fd536098..6216edb58393 100644
> --- a/include/net/dst.h
> +++ b/include/net/dst.h
> @@ -521,4 +521,12 @@ static inline struct xfrm_state *dst_xfrm(const struct
> dst_entry *dst)
> }
> #endif
>
> +static inline void skb_dst_update_pmtu(struct sk_buff *skb, u32 mtu)
> +{
> + struct dst_entry *dst = skb_dst(skb);
> +
> + if (dst && dst->ops->update_pmtu)
> + skb_dst(skb)->ops->update_pmtu(dst, NULL, skb, mtu);
in that last line, s/skb_dst(skb)/dst/