[Bug 207831] r293159 breaks OpenVPN routing

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jun 5 16:47:29 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207831

--- Comment #13 from Alexander V. Chernikov <melifaro at 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_GATEWAY
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.

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


More information about the freebsd-amd64 mailing list