diff options
author | Oussama Ghorbel <ou.ghorbel@gmail.com> | 2013-10-03 14:49:26 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-07 12:32:26 -0400 |
commit | 582442d6d5bc74c1e11a2515f9387d3d227278e2 (patch) | |
tree | d970c591069cfe7b006368ad2541ba8d2038f398 /arch/x86/lib/thunk_32.S | |
parent | 3573540cafa4296dd60f8be02f2aecaa31047525 (diff) | |
download | blackbird-op-linux-582442d6d5bc74c1e11a2515f9387d3d227278e2.tar.gz blackbird-op-linux-582442d6d5bc74c1e11a2515f9387d3d227278e2.zip |
ipv6: Allow the MTU of ipip6 tunnel to be set below 1280
The (inner) MTU of a ipip6 (IPv4-in-IPv6) tunnel cannot be set below 1280, which is the minimum MTU in IPv6.
However, there should be no IPv6 on the tunnel interface at all, so the IPv6 rules should not apply.
More info at https://bugzilla.kernel.org/show_bug.cgi?id=15530
This patch allows to check the minimum MTU for ipv6 tunnel according to these rules:
-In case the tunnel is configured with ipip6 mode the minimum MTU is 68.
-In case the tunnel is configured with ip6ip6 or any mode the minimum MTU is 1280.
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 'arch/x86/lib/thunk_32.S')
0 files changed, 0 insertions, 0 deletions