--- x/net/ipv4/ipip.c +++ y/net/ipv4/ipip.c @@ -277,8 +277,9 @@ static netdev_tx_t ipip_tunnel_xmit(stru struct ip_tunnel *tunnel = netdev_priv(dev); const struct iphdr *tiph = &tunnel->parms.iph; u8 ipproto; + int pull_len = tunnel->hlen + sizeof(struct iphdr); - if (!pskb_inet_may_pull(skb)) + if (!pskb_network_may_pull(skb, pull_len)) goto tx_error; switch (skb->protocol) {