]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Undo FreeBSD 12.x workaround on IPv6 ifconfig for 12.4 and up
authorGert Doering <gert@greenie.muc.de>
Sat, 7 Jan 2023 16:25:58 +0000 (17:25 +0100)
committerGert Doering <gert@greenie.muc.de>
Mon, 9 Jan 2023 16:01:49 +0000 (17:01 +0100)
commitd9906d1523a8ed46fce81cb8d559279e345bf849
tree6d3112ff9f32245641445c68be95886118ae66c2
parent93da80eaa1548197b173537bb74bf6db7e10912e
Undo FreeBSD 12.x workaround on IPv6 ifconfig for 12.4 and up

commit 5e19cc2c1bf22d introduced a workaround for a race condition
that showed itself on IPv6 ifconfig on FreeBSD 12.x - sometimes breaking
IPv6 connectivity on tun/tap interfaces.

This was fixed on the FreeBSD side in 12.4, 13.1 and up, and 13.0 is
no longer supported.  So conditionalize the workaround on "12.0..12.3",
to be fully removed later when 12.3 is also running out of support.

v2: fix version number comparison

Trac: 1226

Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20230107162558.59659-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg25911.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit 16d7f2cd4d904274580b2f031e92dde2f7f260c9)
src/openvpn/tun.c