Anders Franzen 381601e5bb Make the ip6_tunnel reflect the true mtu.
The ip6_tunnel always assumes it consumes 40 bytes (ip6 hdr) of the mtu of the
underlaying device. So for a normal ethernet bearer, the mtu of the ip6_tunnel is
1460.
However, when creating a tunnel the encap limit option is enabled by default, and it
consumes 8 bytes more, so the true mtu shall be 1452.

I dont really know if this breaks some statement in some RFC, so this is a request for
comments.

Signed-off-by: Anders Franzen <anders.franzen@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-12-01 10:55:47 -08:00
..
2010-02-22 16:20:22 -08:00
2010-09-23 14:33:39 -07:00
2010-06-09 18:39:27 -07:00
2010-02-22 16:20:22 -08:00
2010-05-11 14:40:55 +02:00
2010-06-10 23:31:35 -07:00
2010-10-25 14:18:28 -07:00
2010-06-26 22:00:03 -07:00
2010-10-25 13:09:45 -07:00
2010-10-25 14:18:28 -07:00
2010-01-17 19:16:02 -08:00