Commit 9b3eb5ed authored by Committed by David S. Miller
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 <firstname.lastname@example.org> CC: Eric Dumazet <email@example.com> Signed-off-by: Pravin B Shelar <firstname.lastname@example.org> Acked-by: Eric Dumazet <email@example.com> Signed-off-by: David S. Miller <firstname.lastname@example.org>
Showing with 4 additions and 1 deletion