]> git.neil.brown.name Git - history.git/commit
[IPV4/IPV6]: Take IPsec overhead into account in tunnels
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 15 Mar 2005 02:19:37 +0000 (18:19 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 15 Mar 2005 02:19:37 +0000 (18:19 -0800)
commit4230b1beac503b01a73b26e243a50439f08c840b
treeaf9bd89dba72fe1bba535998bccaf5da896d75d7
parent51382d091af023f037458f695d5ce496e7a96913
[IPV4/IPV6]: Take IPsec overhead into account in tunnels

This patch uses dst_mtu instead of dst_pmtu in the various tunnel
implementations.  As it is they simply ignore the IPsec overhead.
This leads to bogus MTU values inside the tunnels.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_gre.c
net/ipv4/ipip.c
net/ipv6/ip6_tunnel.c
net/ipv6/sit.c