From: Pravin B Shelar Date: Tue, 2 Jul 2013 17:57:33 +0000 (-0700) Subject: ip_tunnels: Use skb-len to PMTU check. X-Git-Tag: v3.11-rc1~64^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23a3647bc4f93bac3776c66dc2c7f7f68b3cd662;p=pandora-kernel.git ip_tunnels: Use skb-len to PMTU check. In path mtu check, ip header total length works for gre device but not for gre-tap device. Use skb len which is consistent for all tunneling types. This is old bug in gre. This also fixes mtu calculation bug introduced by commit c54419321455631079c7d (GRE: Refactor GRE tunneling code). Reported-by: Timo Teras Signed-off-by: Pravin B Shelar Signed-off-by: David S. Miller --- Reading git-diff-tree failed