From: Anders Franzen Date: Wed, 24 Nov 2010 05:47:18 +0000 (+0000) Subject: Make the ip6_tunnel reflect the true mtu. X-Git-Tag: v2.6.37-rc6~14^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=381601e5bbae78d7c18d946fe874a63957edea13;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed