diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2013-07-11 22:12:22 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-12 01:12:03 +0200 |
commit | 8c91e162e058bb91b7766f26f4d5823a21941026 (patch) | |
tree | 430170c009409c6ea04eae1718e232a2a8c0621a /net/ipv4/fib_rules.c | |
parent | pkt_sched: sch_qfq: remove forward declaration of qfq_update_agg_ts (diff) | |
download | linux-8c91e162e058bb91b7766f26f4d5823a21941026.tar.xz linux-8c91e162e058bb91b7766f26f4d5823a21941026.zip |
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 <alexander.h.duyck@intel.com>
Reported-by: Cong Wang <amwang@redhat.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_rules.c')
0 files changed, 0 insertions, 0 deletions