diff options
Diffstat (limited to 'net/ipv4/ip_gre.c')
-rw-r--r-- | net/ipv4/ip_gre.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/ip_gre.c b/net/ipv4/ip_gre.c index 5ef4da780ac1..b8bada00d516 100644 --- a/net/ipv4/ip_gre.c +++ b/net/ipv4/ip_gre.c | |||
@@ -970,7 +970,8 @@ static netdev_tx_t ipgre_tunnel_xmit(struct sk_buff *skb, struct net_device *dev | |||
970 | iph->daddr = fl4.daddr; | 970 | iph->daddr = fl4.daddr; |
971 | iph->saddr = fl4.saddr; | 971 | iph->saddr = fl4.saddr; |
972 | iph->ttl = ttl; | 972 | iph->ttl = ttl; |
973 | iph->id = 0; | 973 | |
974 | tunnel_ip_select_ident(skb, old_iph, &rt->dst); | ||
974 | 975 | ||
975 | if (ttl == 0) { | 976 | if (ttl == 0) { |
976 | if (skb->protocol == htons(ETH_P_IP)) | 977 | if (skb->protocol == htons(ETH_P_IP)) |