From: Alexander Duyck Date: Thu, 11 Jul 2013 20:12:22 +0000 (-0700) Subject: gre: Fix MTU sizing check for gretap tunnels X-Git-Tag: v3.11-rc1~5^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c91e162e058bb91b7766f26f4d5823a21941026;p=pandora-kernel.git gre: Fix MTU sizing check for gretap tunnels This change fixes an MTU sizing issue seen with gretap tunnels when non-gso packets are sent from the interface. In my case I was able to reproduce the issue by simply sending a ping of 1421 bytes with the gretap interface created on a device with a standard 1500 mtu. This fix is based on the fact that the tunnel mtu is already adjusted by dev->hard_header_len so it would make sense that any packets being compared against that mtu should also be adjusted by hard_header_len and the tunnel header instead of just the tunnel header. Signed-off-by: Alexander Duyck Reported-by: Cong Wang Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed