Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Jun 2016 16:47:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 207831] r293159 breaks OpenVPN routing
Message-ID:  <bug-207831-6-44xbJUVpa7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-207831-6@https.bugs.freebsd.org/bugzilla/>
References:  <bug-207831-6@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207831

--- Comment #13 from Alexander V. Chernikov <melifaro@FreeBSD.org> ---
I'm sorry for disappearing for several month w/o handling this issue.
Also, many thanks for Guy Yur for analysing the problem - indeed, all
interface/loopback routes are installed w link-level sockaddr_dl "gateway"
(used  solely to save ifnet index of the target interface) and w/o RTF_GATE=
WAY
flag. I totally forgot this case when making this change.

The problem here is that sockaddr_dl is a pretty big structure (64 bytes vs
32-byte sockaddr_in6) so most of the users (which actually don't care about
these "gateway" would still need to allocate this buffer in order to avoid
receiving ENOMEM). Will think about it a bit and come w/ fix tomorrow.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207831-6-44xbJUVpa7>