]> git.hungrycats.org Git - linux/commitdiff
[IP_GRE]: Kill duplicate update_pmtu call.
authorSteven Whitehouse <steve@gw.chygwyn.com>
Mon, 21 Apr 2003 17:47:19 +0000 (10:47 -0700)
committerDavid S. Miller <davem@nuts.ninka.net>
Mon, 21 Apr 2003 17:47:19 +0000 (10:47 -0700)
net/ipv4/ip_gre.c

index a0cec82cb53e0801748045bddd93c5ecc5cb118e..f4ef259101bc9c5656796d64e8eda90816eaf400 100644 (file)
@@ -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);
 
        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));
 
                if ((old_iph->frag_off&htons(IP_DF)) &&