Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec
[linux-2.6-microblaze.git] / net / ipv4 / ip_vti.c
index 6137413..31c6c6d 100644 (file)
@@ -240,13 +240,13 @@ static netdev_tx_t vti_xmit(struct sk_buff *skb, struct net_device *dev,
                if (skb->protocol == htons(ETH_P_IP)) {
                        if (!(ip_hdr(skb)->frag_off & htons(IP_DF)))
                                goto xmit;
-                       icmp_send(skb, ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED,
-                                 htonl(mtu));
+                       icmp_ndo_send(skb, ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED,
+                                     htonl(mtu));
                } else {
                        if (mtu < IPV6_MIN_MTU)
                                mtu = IPV6_MIN_MTU;
 
-                       icmpv6_send(skb, ICMPV6_PKT_TOOBIG, 0, mtu);
+                       icmpv6_ndo_send(skb, ICMPV6_PKT_TOOBIG, 0, mtu);
                }
 
                dst_release(dst);