summaryrefslogtreecommitdiff
path: root/net/l2tp
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@nicira.com>2013-07-02 10:57:33 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-28 16:29:49 -0700
commitedb42cad3392ba6a1cd3a688cfb7af16d6b2137f (patch)
treea9501831534238b5d9158d5d93eeecd68fafbd28 /net/l2tp
parent36bddbad5049d3f3916abc9f594526d47ad3ab84 (diff)
downloadlinux-3.10-edb42cad3392ba6a1cd3a688cfb7af16d6b2137f.tar.gz
linux-3.10-edb42cad3392ba6a1cd3a688cfb7af16d6b2137f.tar.bz2
linux-3.10-edb42cad3392ba6a1cd3a688cfb7af16d6b2137f.zip
ip_tunnels: Use skb-len to PMTU check.
[ Upstream commit 23a3647bc4f93bac3776c66dc2c7f7f68b3cd662 ] 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 <timo.teras@iki.fi> Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/l2tp')
0 files changed, 0 insertions, 0 deletions