projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
inetpeer: get rid of ip_id_count
[firefly-linux-kernel-4.4.55.git]
/
net
/
ipv4
/
ip_tunnel.c
diff --git
a/net/ipv4/ip_tunnel.c
b/net/ipv4/ip_tunnel.c
index 5642374cb75185e3e237d2769685b43f391e58ce..84aa69caee59486e3dffa0e0c8447a0c278ab0ed 100644
(file)
--- a/
net/ipv4/ip_tunnel.c
+++ b/
net/ipv4/ip_tunnel.c
@@
-691,7
+691,7
@@
void ip_tunnel_xmit(struct sk_buff *skb, struct net_device *dev,
iph->daddr = fl4.daddr;
iph->saddr = fl4.saddr;
iph->ttl = ttl;
- __ip_select_ident(iph,
&rt->dst, (skb_shinfo(skb)->gso_segs ?: 1) -
1);
+ __ip_select_ident(iph,
skb_shinfo(skb)->gso_segs ?:
1);
iptunnel_xmit(skb, dev);
return;