diff options
author | Anders Franzen <Anders.Franzen@ericsson.com> | 2010-11-24 05:47:18 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-01 10:55:47 -0800 |
commit | 381601e5bbae78d7c18d946fe874a63957edea13 (patch) | |
tree | 2aa2fa29329265ea781001a8e4365977d6caa322 /net/ipv6/protocol.c | |
parent | 25888e30319f8896fc656fc68643e6a078263060 (diff) |
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>
Diffstat (limited to 'net/ipv6/protocol.c')
0 files changed, 0 insertions, 0 deletions