]> git.neil.brown.name Git - history.git/commit
[IPSEC]: Revert ip{,6}_append_data() dst_mtu() conversion.
authorDavid S. Miller <davem@sunset.davemloft.net>
Wed, 16 Mar 2005 06:02:46 +0000 (22:02 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 16 Mar 2005 06:02:46 +0000 (22:02 -0800)
commit818a9ce8ca971e880a77a72a42a1223e427c5b7d
treeda8964e3b112aca1c9eb7a849d7b3aee50df31c4
parentcda61e3d87e6d457f9cbd99560eab501d9c6a89b
[IPSEC]: Revert ip{,6}_append_data() dst_mtu() conversion.

This patch is wrong.  This is the *one* place where we do need to
use the path MTU.  The reason is that when the packet is fragmented
we only pay for the IPsec overhead once over all and not once for
each fragment.

Please revert it for now.

The trailer_len in ip_append_data is not quite right as the trailer's
length depends on the length of the entire packet.  However, it should
be harmless since ESP knows how to extend the packet when necessary.

Cset exclude: herbert@gondor.apana.org.au|ChangeSet|20050315181807|13007
net/ipv4/ip_output.c
net/ipv6/ip6_output.c