diff --git a/net/ipv4/ipip.c b/net/ipv4/ipip.c index bfec31df8b2123752061d78e536696f27f1cac52..ea88ab3102a869bda9e19b12e11a1a0f0edeec96 100644 --- a/net/ipv4/ipip.c +++ b/net/ipv4/ipip.c @@ -224,6 +224,8 @@ static netdev_tx_t ipip_tunnel_xmit(struct sk_buff *skb, struct net_device *dev) if (IS_ERR(skb)) goto out; + skb_set_inner_ipproto(skb, IPPROTO_IPIP); + ip_tunnel_xmit(skb, dev, tiph, tiph->protocol); return NETDEV_TX_OK;