- If we have no ESP support, ESP disabled, or no ESP keys received, then
we're definitely using the TLS tunne and we should calculate tunnel MTU
based on the TCP MSS, subtracting the TLS+GPST overhead (and only use the
base/wire MTU as a crude fallback if necessary).
- If we've got ESP enabled and ESP keys, then we should calculate tunnel
MTU based on the base/wire MTU, subtracting the IP+UDP+ESP overhead.
Signed-off-by: Daniel Lenski <dlenski@gmail.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>