From: Pravin B Shelar Date: Thu, 2 May 2013 16:14:19 +0000 (+0000) Subject: gre: Fix GREv4 TCPv6 segmentation. X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~39^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b3eb5edf33897dc9128aa27300066153d4f8b9c;p=pandora-kernel.git gre: Fix GREv4 TCPv6 segmentation. For ipv6 traffic, GRE can generate packet with strange GSO bits, e.g. ipv4 packet with SKB_GSO_TCPV6 flag set. Therefore following patch relaxes check in inet gso handler to allow such packet for segmentation. This patch also fixes wrong skb->protocol set that was done in gre_gso_segment() handler. Reported-by: Steinar H. Gunderson CC: Eric Dumazet Signed-off-by: Pravin B Shelar Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed