diff options
-rw-r--r-- | net/ipv4/ipip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/ipip.c b/net/ipv4/ipip.c index bfec31df8b21..ea88ab3102a8 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) | |||
224 | if (IS_ERR(skb)) | 224 | if (IS_ERR(skb)) |
225 | goto out; | 225 | goto out; |
226 | 226 | ||
227 | skb_set_inner_ipproto(skb, IPPROTO_IPIP); | ||
228 | |||
227 | ip_tunnel_xmit(skb, dev, tiph, tiph->protocol); | 229 | ip_tunnel_xmit(skb, dev, tiph, tiph->protocol); |
228 | return NETDEV_TX_OK; | 230 | return NETDEV_TX_OK; |
229 | 231 | ||