]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
IP_GRE: Fix IP-Identification.
authorPravin B Shelar <pshelar@nicira.com>
Fri, 22 Feb 2013 07:30:30 +0000 (07:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Feb 2013 20:47:41 +0000 (15:47 -0500)
commit490ab08127cebc25e3a260a74556b56ce5f47c0f
tree61a662927a56a72ae7d567728edae1ce2bc9c8c5
parent2bedc2e65bf58676afc4b380617327e018a97270
IP_GRE: Fix IP-Identification.

GRE-GSO generates ip fragments with id 0,2,3,4... for every
GSO packet, which is not correct. Following patch fixes it
by setting ip-header id unique id of fragments are allowed.
As Eric Dumazet suggested it is optimized by using inner ip-header
whenever inner packet is ipv4.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ipip.h
net/ipv4/af_inet.c
net/ipv4/ip_gre.c