From: Guus Sliepen Date: Mon, 25 May 2009 10:19:37 +0000 (+0200) Subject: Use packet size before decompression to calculate path MTU. X-Git-Tag: release-1.0.10~62 X-Git-Url: https://git.librecmc.org/?p=oweals%2Ftinc.git;a=commitdiff_plain;h=7fc69bc73b15349dafc193a50464caeb2f978369;hp=7fc69bc73b15349dafc193a50464caeb2f978369 Use packet size before decompression to calculate path MTU. Since compression can either grow or shrink a packet, the size of an MTU probe after decompression might not reflect the real path MTU. Now we use the size before decompression, which is independent of the compression algorithm, and substract a safety margin such that the calculated path MTU will be safe even for packets which grow as much as possible after compression. ---