diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv4/ip_tunnel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ip_tunnel.c b/net/ipv4/ip_tunnel.c index cbfc37f5f05a..b7a4c21c06ec 100644 --- a/net/ipv4/ip_tunnel.c +++ b/net/ipv4/ip_tunnel.c | |||
@@ -686,7 +686,7 @@ void ip_tunnel_xmit(struct sk_buff *skb, struct net_device *dev, | |||
686 | iph->daddr = fl4.daddr; | 686 | iph->daddr = fl4.daddr; |
687 | iph->saddr = fl4.saddr; | 687 | iph->saddr = fl4.saddr; |
688 | iph->ttl = ttl; | 688 | iph->ttl = ttl; |
689 | tunnel_ip_select_ident(skb, inner_iph, &rt->dst); | 689 | __ip_select_ident(iph, &rt->dst, (skb_shinfo(skb)->gso_segs ?: 1) - 1); |
690 | 690 | ||
691 | iptunnel_xmit(skb, dev); | 691 | iptunnel_xmit(skb, dev); |
692 | return; | 692 | return; |