diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2013-07-02 10:57:33 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-02 16:43:35 -0700 |
commit | 23a3647bc4f93bac3776c66dc2c7f7f68b3cd662 (patch) | |
tree | 40dba500db5b02a9e04c6d7bb64a69c60c7f7e88 /net/ipv4/tcp.c | |
parent | 784771e74b9207b0dd9e1f3b04729e6356c88650 (diff) | |
download | op-kernel-dev-23a3647bc4f93bac3776c66dc2c7f7f68b3cd662.zip op-kernel-dev-23a3647bc4f93bac3776c66dc2c7f7f68b3cd662.tar.gz |
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 <timo.teras@iki.fi>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp.c')
0 files changed, 0 insertions, 0 deletions