]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix --mtu-disc option with IPv6 transport
authorJulien Muchembled <jm@nexedi.com>
Sat, 10 Oct 2015 09:44:51 +0000 (11:44 +0200)
committerGert Doering <gert@greenie.muc.de>
Sat, 10 Oct 2015 09:58:41 +0000 (11:58 +0200)
commit2bed089d31a12c2d0277e36a64964ebab6640f75
tree851d70ba7bcb6690b32a46095a731d8500c8afba
parent99daa6b19270775006f034f21936c98a9005477d
Fix --mtu-disc option with IPv6 transport

Socket configuration of MTU discovery was done unconditionally at IP level,
which has no effect for other protocols. This fixes the issue of OpenVPN
sending fragmented tcp6/udp6 packets even when 'mtu-disc yes' option is
passed.

Patch V2 (by Arne Schwabe): Rebase to current master and have
separate #ifdefs for IPv4 an IPv6

Signed-off-by: Julien Muchembled <jm@nexedi.com>
Acked-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1444470291-2980-1-git-send-email-arne@rfc2549.org>
URL: http://article.gmane.org/gmane.network.openvpn.devel/10229
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/mtu.c
src/openvpn/mtu.h
src/openvpn/socket.c