Commit 4b4be4d2 authored by Steven Whitehouse's avatar Steven Whitehouse Committed by David S. Miller

[IP_GRE]: Kill duplicate update_pmtu call.

parent 8981d822
...@@ -777,9 +777,6 @@ static int ipgre_tunnel_xmit(struct sk_buff *skb, struct net_device *dev) ...@@ -777,9 +777,6 @@ static int ipgre_tunnel_xmit(struct sk_buff *skb, struct net_device *dev)
skb->dst->ops->update_pmtu(skb->dst, mtu); skb->dst->ops->update_pmtu(skb->dst, mtu);
if (skb->protocol == htons(ETH_P_IP)) { if (skb->protocol == htons(ETH_P_IP)) {
if (skb->dst)
skb->dst->ops->update_pmtu(skb->dst, mtu);
df |= (old_iph->frag_off&htons(IP_DF)); df |= (old_iph->frag_off&htons(IP_DF));
if ((old_iph->frag_off&htons(IP_DF)) && if ((old_iph->frag_off&htons(IP_DF)) &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment