]> Pileus Git - ~andy/linux/blobdiff - net/ipv4/ip_vti.c
Linux 3.14
[~andy/linux] / net / ipv4 / ip_vti.c
index 52b802a0cd8cbda18579dd1811bce3405ecbdfdc..48eafae5176946841b53b95e7da8a46650fa548d 100644 (file)
@@ -60,7 +60,7 @@ static int vti_rcv(struct sk_buff *skb)
        tunnel = ip_tunnel_lookup(itn, skb->dev->ifindex, TUNNEL_NO_KEY,
                                  iph->saddr, iph->daddr, 0);
        if (tunnel != NULL) {
-               struct pcpu_tstats *tstats;
+               struct pcpu_sw_netstats *tstats;
                u32 oldmark = skb->mark;
                int ret;
 
@@ -162,7 +162,7 @@ tx_error_icmp:
        dst_link_failure(skb);
 tx_error:
        dev->stats.tx_errors++;
-       dev_kfree_skb(skb);
+       kfree_skb(skb);
        return NETDEV_TX_OK;
 }