aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
authorOussama Ghorbel <ou.ghorbel@gmail.com>2013-10-07 18:50:05 +0100
committerDavid S. Miller <davem@davemloft.net>2013-10-08 16:32:40 -0400
commit0e719e3a53cc03bc1bafbb2cae1ddf99a0d73ab0 (patch)
tree84d657ba2fff9abee53dbcbd7d62f5235171acdf /net/sched
parentxen-netback: transition to CLOSED when removing a VIF (diff)
downloadlinux-dev-0e719e3a53cc03bc1bafbb2cae1ddf99a0d73ab0.tar.xz
linux-dev-0e719e3a53cc03bc1bafbb2cae1ddf99a0d73ab0.zip
ipv6: Fix the upper MTU limit in GRE tunnel
Unlike ipv4, the struct member hlen holds the length of the GRE and ipv6 headers. This length is also counted in dev->hard_header_len. Perhaps, it's more clean to modify the hlen to count only the GRE header without ipv6 header as the variable name suggest, but the simple way to fix this without regression risk is simply modify the calculation of the limit in ip6gre_tunnel_change_mtu function. Verified in kernel version v3.11. Signed-off-by: Oussama Ghorbel <ou.ghorbel@gmail.com> Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions