From: Etienne Dechamps Date: Thu, 1 Jan 2015 16:59:45 +0000 (+0000) Subject: Recalculate and resend MTU probes if they are too large for the system. X-Git-Tag: release-1.1pre12~230 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=06345f89b9a1e9acaf74cbbf896559b4286c102e;hp=06345f89b9a1e9acaf74cbbf896559b4286c102e;p=tinc Recalculate and resend MTU probes if they are too large for the system. Currently, if a MTU probe is sent and gets rejected by the system because it is too large (i.e. send() returns EMSGSIZE), the MTU discovery algorithm is not aware of it and still behaves as if the probe was actually sent. This patch makes the MTU discovery algorithm recalculate and send a new probe when this happens, so that the probe "slot" does not go to waste. ---